In moments of distress, the database consistency check (DBCC) may prove to be your most valuable friend. This tip provides a thumbnail sketch of the things DBCC can do for you, which include the following:
- Check the integrity of your tables and their related indexes.
- Check the whole database.
- Check the integrity of database pages.
- Rebuild the indexes on any given table.
The article continues at