Microsoft SQL Server DBCC statement


Example

DBCC statements act as Database Console Commands for SQL Server. To get the syntax information for the specified DBCC command use DBCC HELP (...) statement.

The following example returns all DBCC statements for which Help is available:

DBCC HELP ('?');  

The following example returns options for DBCC CHECKDB statement:

DBCC HELP ('CHECKDB');