Table 10-1 summarizes the checks performed by the dbcc commands. Table 10-2 compares the different dbcc commands.
You can run all dbcc commands except dbrepair and checkdb with the fix option while the database is active.
Only the table owner can execute dbcc with the checktable, fix_text, or reindex keywords. Only the Database Owner can use the checkstorage, checkdb, checkcatalog, checkalloc, indexalloc, and tablealloc keywords. Only a System Administrator can use the dbrepair keyword.
Copyright © 2005. Sybase Inc. All rights reserved. |