SQL Flow Field Guide

DBCC CHECKCATALOG

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

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.