Microsoft KB Archive/275721

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

Article ID: 275721

Article Last Modified on 3/14/2006

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



This article was previously published under Q275721



BUG #:57917 (SQLBUG_70)



SYMPTOMS
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



CAUSE
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.



STATUS
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.

Additional query words: 602 corruption tempdb sysindexes

Keywords: kbbug kbfix KB275721

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.