Article ID: 269282 - View products that this article applies to.
This article was previously published under Q269282
BUG #: 58199 (SQLBUG_70)
The following error message might occur when you use a non-clustered index for a select query on a temporary table:
This problem only occurs with Microsoft SQL Server 7.0 Service Pack 2 (SP2) (build 7.00.842). This is a Service Pack 2 regression issue.
Error: 602, Severity: 21, State: 13
Could not find row in sysindexes for database ID 2, object ID 165575628, index ID 3. Run DBCC CHECKTABLE on sysindexes..
Use either of the following two methods to work around this problem:
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:
274799For more information, contact your primary support provider.
(http://support.microsoft.com/kb/274799/ )INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
Steps to Reproduce BehaviorCreate a stored procedure that does the following:
Here is a list of the symptoms that you see after the error is reported in the Errorlog:
Article ID: 269282 - Last Review: March 14, 2006 - Revision: 4.1