DBCC HELP (Transact-SQL)
SQL Server 2008
Returns syntax information for the specified DBCC command.
A. Using DBCC HELP with a variable
The following example returns syntax information for DBCC CHECKDB.
DECLARE @dbcc_stmt sysname; SET @dbcc_stmt = 'CHECKDB'; DBCC HELP (@dbcc_stmt); GO
B. Using DBCC HELP with the ? option
The following example returns all DBCC statements for which Help is available.
DBCC HELP ('?');
GO
