DBCC Notes

This post will be updated regularly as I work through all the DBCC commands.

Using ‘DBCC HELP command’ will provide the help and options for a given DBCC command. Use it as follows:

…will produce the following output:

Maintenance DBCC Commands

The following commands will create a read-only snapshot of the database(s). If the command cannot create a snapshot or is not required, it will perform the check on the actual database and use table-locking to perform the check.

The following commands use and internal snapshot to perform their checks:

DBCC CHECKALLOC
DBCC CHECKDB
DBCC CHECKCATALOG
DBCC CHECKFILEGROUP
DBCC CHECKTABLE

TechNet DBCC CHECKDB Help

Views – 1838

Leave a Reply