Checks user tables for indexes marked as suspect during recovery following a sort order change.
is the name of the user table to be checked.
Checks the table newaccts for indexes marked as suspect:
sp_indsuspect with no parameter creates a list of all tables in the current database that have indexes that need to be rebuilt as a result of a sort order change. With a tab_name parameter, sp_indsuspect checks the specified table for indexes marked as suspect during recovery following a sort order change.
Use sp_indsuspect to list all suspect indexes. The table owner or a System Administrator can use dbcc reindex to check the integrity of the listed indexes and to rebuild them if necessary.
Any user can execute sp_indsuspect.