Check and repair the logical and physical consistency of a table.
- Select , then choose one of the following:
- User Tables
- Proxy Tables
- System Tables
- Select the table for which to check consistency.
- Select Check Consistency.
You see the Check Consistency wizard.
- Select Choose DBCC options.
- (Optional) Select Check overall consistency, then optionally click Ignore non-clustered indexes.
Check overall consistency checks that:
- Index and data pages are linked correctly.
- Indexes are sorted properly.
- Pointers are consistent.
-
All indexes and data partitions are correctly linked.
-
Data rows on each page have entries in the row-offset table.
- Partition statistics for partitioned tables are correct.
- (Optional) Select Check allocation, then optionally click Fix allocation errors.
Check allocation checks the table to ensure that:
- All pages are correctly allocated.
- Partition statistics on the allocation pages are correct.
- No page is allocated that is not used.
- All pages are correctly allocated to the partitions in the specified table and that allocated pages are used.
- No unallocated page is used.
- (Optional) Select Reindex.
This option allows the system administrator or table owner to check the integrity of indexes attached to a user table and to rebuild suspect indexes.
- (Optional) Select Fix text.
Fix text is used only for tables that contain text data.
Select if you are changing to a new multibyte character set from either a single-byte or a multibyte character set.
- Select the type of allocation report.
- Click Finish to execute the selected commands.