Hi,
Using Tsql, how can i know when DBCC checkdb was last run on SQL server (2000, 2005 or 2008)?
Regards
Hi,
Using Tsql, how can i know when DBCC checkdb was last run on SQL server (2000, 2005 or 2008)?
Regards
DBCC TRACEON (3604);
GO
-- page 9 is the boot page
DBCC PAGE (dbname, 1, 9, 3);
GO
You need to look for the dbi_dbccLastKnownGood field. That was the last time that DBCC CHECKDB ran without finding any corruptions.