sp_listsuspect_page

Description

Lists all pages in a database that are currently offline because of corruption detected on recovery.

Syntax

sp_listsuspect_page [dbname] 

Parameters

dbname

is the name of the database.

Examples

Example 1

Lists the suspect pages in the current database:

sp_listsuspect_page

Example 2

Lists the suspect pages in the pubs2 database:

sp_listsuspect_page pubs2

Usage

Permissions

Any user can execute sp_listsuspect_page. Permission checks do not differ based on the granular permissions settings.

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_db, sp_setsuspect_granularity, sp_setsuspect_threshold