Table error: Object ID %ld (object '%.*ls') does not match between '%.*ls' and '%.*ls'.
This error occurs when the DBCC CHECKCATALOG statement detects a database object in one system table and the object is not expected in another table. Most often, this occurs when one or more rows in the syscolumns, syscomments, sysindexes, or sysdepends tables have no corresponding rows in sysobjects. This error can also occur if an operation affecting the system table, such as deletion of a user table, was interrupted.
Although this error seldom interferes with database use, it is a good idea to restore the affected system table.
Warning Severe problems can result from the direct manipulation of the system catalogs. Do not modify the system catalogs unless instructed to do so by your primary support provider.
Follow these steps to restore the consistency of the system tables:
USE master
GO
SELECT * FROM syscolumns
WHERE syscolumns.id NOT IN
(SELECT sysobjects.id FROM sysobjects)
Before modifying any system catalogs, be sure that you have a valid backup of the database. For more information about backup operations, see Backing Up and Restoring Databases.
Warning Incorrect modification of the system catalogs can result in database corruption or data loss.