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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mssql_checkdb_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||