June 7, 2006 at 2:24 pm
I am running trace using sql profiler and see following message for some databases
for database RUP_CQ_I3T --
use [RUP_CQ_I3T]
dbcc checkdb WITH NO_INFOMSGS
whats the purpose of this statement?
June 7, 2006 at 10:08 pm
Google and SQL Server Books On Line are your friends! use them first, and use the forums to clarify anything you didn't understand.
the first link in google for a search of "dbcc checkdb WITH NO_INFOMSGS"
http://doc.ddart.net/mssql/sql70/dbcc_3.htm
Checks the allocation and structural integrity of all the objects in the specified database.
Lowell
June 8, 2006 at 6:45 am
Lowell
I saw that on web before asking the question. I think I should have phrased my question better. Instead what I wanted to ask is that why SQL Server is running this statement in the background?
thanks
June 8, 2006 at 6:55 am
If you've created any maintenance plans for those databases, this specific operation would be part of the scheduled job:
Data Base Maintenance>>Integrity Tab>>Checkboxes for Check Database Integrity & Include Indexes
you would probably see this command nested in the middle of other maintenance type sqls;
I don't believe SQL Server runs this command automatically whenever it wants, but I'll research that and double check.
Lowell
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply