Returns syntax information for the specified DBCC command.
Transact-SQL Syntax Conventions
dbcc_statement | @dbcc_statement_var
Is the name of the DBCC command for which to receive syntax information. Provide only the part of the DBCC command that follows DBCC, for example, CHECKDB instead of DBCC CHECKDB.
?
Returns all DBCC commands for which Help is available.
WITH NO_INFOMSGS
Suppresses all informational messages that have severity levels from 0 through 10.
DBCC HELP returns a result set displaying the syntax for the specified DBCC command.
Requires membership in the sysadmin fixed server role.
The following example returns syntax information for DBCC CHECKDB
.
The following example returns all DBCC statements for which Help is available.