473,398 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How to automatically run CHECKDB command each time SQL starts

SwissProgrammer
220 128KB
I was reading an article here about database corruption . The author says to run CHECKDB command when some suspicious activity is noticed in the database.

I do not see the logic in waiting for that activity and maybe going past it and using or creating corrupted data when it is not noticed.

Therefore, how do I automatically run CHECKDB command each time SQL starts?

This might not be the right question, so feel free to redirect the question to the right answer. I want to make certain, each time the SQL 7 starts up, that the database is not corrupted. And, if it is running constantly for a long time, how to periodically check it, automatically.

Automatically.

No .NET stuff please.
No Visual Studio stuff please.

Thank you.
Jul 22 '20 #1
0 2698

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Greeshma | last post by:
Hi all, I have successfully configured Apache 2.0.4 with RedHat 7.3 and use Python 2.2.3 for cgi scripts. When I start Apache manually through /usr/local/apache/bin/apachectl startssl, I can...
2
by: Tahir Khan | last post by:
I am running into a command time out error. I have to retrieve a lot of date thru a complex query. For some reason, I can't change the commandtimeout to more then 30 secs. And yes I have...
0
by: ACI | last post by:
Auto Close Idle helps you utilize your multi-user concurrent users licenses more efficiently. It closes unattended clients remotely after a certain period of time or manually. Furthermore, clients...
4
by: Peteroid | last post by:
I have a process that takes a long (i.e., sometimes minutes) to accomplish, and I'd rather not write it as a 'time-slicing' process. Is there some sort of Windows call that will allow this process...
10
by: arlef | last post by:
Hi Guys, When learning a language such as C#, would you say it is better to learn the fundamentals using the command-line compiler and a simple text editor such as notepad compared to using a...
0
by: Rob Dob | last post by:
How do I create a insert command that will take a datatable or datarow as a parameter instead of me having to supply it with parameters for each field value. I heard something about using the v2.0...
4
by: Ashley Bryant | last post by:
I've created a Windows Service in vb.net that is set up to run automatically, but it never starts during system startup. I can start it manually, but I need the service to start without any user...
6
siddnair54
by: siddnair54 | last post by:
Hey Guys, i have created a windows application in c#. I want to create a setup in such a way that once the application is installed, it should start automatically when the windows starts up. Can you...
4
by: JoeKid09 | last post by:
I'm new to MySQL, and was hopping to find out how I can stop the service at 10am and start it at 2pm automatically in a batch file. Please let me know... Thanks in advance! Joe
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.