Get DBCC CHECKDB Status
mssql_checkdb_statusRetrieve last known good DBCC CHECKDB dates per online database and corruption rows in msdb suspect_pages, flagging never-checked or over-7-day-old statuses without running CHECKDB.
Instructions
CHECKDB and corruption: the last known good DBCC CHECKDB date per online database (flags never, or more than 7 days ago) and the rows in msdb.dbo.suspect_pages (corruption already found). Never runs CHECKDB. Databases the login cannot read show UNKNOWN. Not available on Azure SQL Database.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||