Get out of a jam by using SQL Server's DBCC

December 22, 2006

[From Builder.com]

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 http://builder.com.com/5100-6388_14-6142604.html?tag=sc