sp_indsuspect

Description

Checks user tables for indexes marked as suspect during recovery following a sort order change.

Syntax

sp_indsuspect [tab_name]

Parameters

tab_name

is the name of the user table to be checked.

Examples

Example 1

Checks the table newaccts for indexes marked as suspect:

sp_indsuspect newaccts

Usage

Permissions

Any user can execute sp_indsuspect.

See also

Commands dbcc