ASA SQL User's Guide
Working with Database Objects
Working with indexes
You can validate an index to ensure that every row referenced in the index actually exists in the table. For foreign key indexes, a validation check also ensures that the corresponding row exists in the primary table, and that their hash values match. This check complements the validity checking carried out by the VALIDATE TABLE statement.
To validate an index (Sybase Central)
Connect to a database with DBA authority or as the owner of the table on which the index is created.
In the left pane, open the Indexes folder.
Right-click the desired index and choose Validate from the popup menu.
To validate an index (SQL)
Connect to a database with DBA authority or as the owner of the table on which the index is created.
Execute a VALIDATE INDEX statement.
To validate an index (command line)
Open a command prompt.
Run the dbvalid utility.
Validate an index called EmployeeIndex. If you supply a table name instead of an index name, the primary key index is validated.
VALIDATE INDEX EmployeeIndex
Validate an index called EmployeeIndex. The -i switch specifies that each object name given is an index.
dbvalid -i EmployeeIndex
For more information, see VALIDATE INDEX statement, and The Validation utility.