dbcc checkdb

  • Hi, I'm running sql 2000(sp3) on nt2000(sp3) when I run dbcc checkdb I get this error.

    Server: Msg 602, Level 21, State 16, Line 2

    Could not find row in sysindexes for database ID 6, object ID 555149023, index ID -1. Run DBCC CHECKTABLE on sysindexes.

    Connection Broken

    I ran dbcc checktable on sysindexes. I still get this error. Does anyone have any other ideas?

    thanks

    Mark

  • Put the database in single-user and then run the repair:

    
    
    EXEC sp_dboption 'DBName','single user','true'
    
    
    DBCC CHECKTABLE ('sysindexes',REPAIR_REBUILD)

    If this doesn't fix the problem, you may want to restore if that's a tenable option, or call Microsoft PSS. An index ID of -1 sounds ominous; I've never heard of this being negative.

    --Jonathan

    --Jonathan



    --Jonathan

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply