MICROSOFT SQL SERVER 2005/2008:CHECK DATABASE INTEGIRY BY DBCC CHECKDB
Checks the logical and physical integrity of all the objects in the specified database by performing the following operations: · Runs DBCC CHECKALLOC on the database. · Runs DBCC CHECKTABLE on every table and view in the database. · Runs DBCC CHECKCATALOG on the database. · Validates the contents of every indexed view in the database. · Validates link-level consistency between table metadata and file system directories and files when storing varbinary(max) data in the file system using FILESTREAM. · Validates the Service Broker data in the database. This means that the DBCC CHECKALLOC, DBCC CHECKTABLE, or DBCC CHECKCATALOG commands do not have to be run separately from DBCC C...