SQL 2017
getting a DBCC CHECKDB error for object that doesn't exist in the database. How do I resolve this?
DBCC CHECKDB ([dbname]) WITH NO_INFOMSGS, ALL_ERRORMSGS
results:
Msg 2576, Level 16, State 1, Line 1
The Index Allocation Map (IAM) page (0:0) is pointed to by the previous pointer of IAM page (1:27824) in object ID 663777522, index ID 1, partition ID 72057594597212160, alloc unit ID 72057594633715712 (type In-row data), but it was not detected in the scan.
Msg 2576, Level 16, State 1, Line 1
The Index Allocation Map (IAM) page (0:0) is pointed to by the previous pointer of IAM page (1:26672) in object ID 663777522, index ID 2, partition ID 72057594597277696, alloc unit ID 72057594633781248 (type In-row data), but it was not detected in the scan.
Msg 2576, Level 16, State 1, Line 1
The Index Allocation Map (IAM) page (0:0) is pointed to by the previous pointer of IAM page (1:41720) in object ID 663777522, index ID 3, partition ID 72057594597343232, alloc unit ID 72057594633846784 (type In-row data), but it was not detected in the scan.
Msg 2576, Level 16, State 1, Line 1
The Index Allocation Map (IAM) page (0:0) is pointed to by the previous pointer of IAM page (1:91112) in object ID 663777522, index ID 4, partition ID 72057594597408768, alloc unit ID 72057594633912320 (type In-row data), but it was not detected in the scan.
CHECKDB found 4 allocation errors and 0 consistency errors in table '(Object ID 663777522)' (object ID 663777522).
CHECKDB found 4 allocation errors and 0 consistency errors in database xxx.
repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (dbname).
Checked sys.sysobjects, sys.indexes, and sys.internal_tables for the object ID and couldn't find it.
SELECT * FROM sys.internal_tables
WHERE name = object_NAME (663777522)
SELECT * FROM sys.objects
WHERE name = object_NAME (663777522)
select object_name(object_id) as TableName, name as IndexName
from sys.indexes
where object_id = 663777522 and index_id = 1
Any ideas?