sp_dbcc_summaryreport

Generates a summary report on the specified database.

Syntax

sp_dbcc_summaryreport [dbname [, date [, op_name [,
	display_recommendations]]]]

Parameters

Examples

Usage

There are additional considerations when using sp_dbcc_summaryreport:
  • sp_dbcc_summaryreport generates a summary report of checkstorage or checkverify operations, or both, on the specified database.

  • The report indicates the name of the database that was checked, the start and end time of the dbcc checkstorage run and the number of soft and hard faults found.

  • The “Operation ID” column contains a number that identifies the results of each dbcc checkstorage operation on a given database at a specific time. The number provided in the report comes from the opid column of the dbcc_operation_log table. See the System Administration Guide for more information.

  • The “Text Columns” column shows the number of non-null text columns found by dbcc checkstorage during the run.

  • The “Abort Count” column shows the number of tables that contained errors, which caused dbcc checkstorage to abort the check on the table. For details on the errors, run sp_dbcc_faultreport.

See also dbcc in Reference Manual: Commands.

Permissions

The permission checks for sp_dbcc_summaryreport differ based on your granular permissions settings.

SettingDescription
Enabled

With granular permissions enabled, you must be the database owner of dbccdb (or dbccalt), or have the report checkstorage privilege on the specified database.

Disabled

With granular permissions disabled, any valid user for the database name specified can run sp_dbcc_summaryreport.

Related reference
sp_dbcc_fullreport
sp_dbcc_statisticsreport
sp_dbcc_updateconfig