This article was previously published under Q275721
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #:57917 (SQLBUG_70)
The execution of a stored procedure that has a local temp table with indexes may return incorrect results or may sometimes fail with the following error message:
Server: Msg 602, Level 21, State 13, Procedure test, Line 9 Could not find row in sysindexes for database ID 2, object ID 261575970, index ID 1. Run DBCC CHECKTABLE on sysindexes.
This behavior may occur when the stored procedure has a local temp table with indexes, which results in run-time errors and/or incorrect results.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.