DBCC CHECKCATALOG
DBCC CHECKCATALOG: administrative check or maintenance
What changes
- Input
- database, table, index, cache or server state named in the command
- Output or change
- messages or result sets; maintenance forms change storage, caches or metadata
Syntax at a glance
DBCC CHECKCATALOG [ ( database_name | database_id | 0 ) ] [ WITH NO_INFOMSGS ]
Work example
A database consistency review needs to check system catalog integrity.
Run the catalog check on a recovered copy when possible and preserve the full output.
Check your work No catalog consistency errors appear in the result.
Open Microsoft Learn for full syntax, permissions, and details for your version.