I am getting the following error on a different machine which is maintained by IT.
Could not find row in sysindexes for database ID 40, Object ID 1, Index ID 1. RUN DBCC Checktable on sysindexes.
I am able to attach and detach the database on my laptop.
I tried DBCC Checktable (SYSINDEXES)
and it gives an error
Cannot find a table or object with the name Sysindexes.
Any idea on how can I troubleshoot this issue?
Is your table temporary table.If so
http://support.microsoft.com/kb/269282/EN-US/
says
Change the non-clustered index that you created on the temporary table to a clustered index. -or- Do not use the non-clustered index on a temporary table.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.