sp_listsuspect_db

Description

Lists all databases that currently have offline pages because of corruption detected on recovery.

Syntax

sp_listsuspect_db

Parameters

None.

Examples

Example 1

Lists the databases that have suspect pages:

sp_listsuspect_db

Usage

Permissions

Any user can execute sp_listsuspect_db.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

System procedures sp_listsuspect_page, sp_setsuspect_granularity, sp_setsuspect_threshold