FIX: Execution of Stored Procedure with Local Temp Table and Indexes May Fail or Return Incorrect Results

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.

Connection Broken
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.
602 corruption tempdb sysindexes

Article ID: 275721 - Last Review: 11/02/2013 01:09:00 - Revision: 3.0

Microsoft SQL Server 7.0 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix KB275721