FIX: Error Message 602 Occurs When You Query a Temporary Table That Has a Non-Clustered Index (269282)
The information in this article applies to:
- Microsoft SQL Server 7.0
- Microsoft SQL Server 7.0 Service Pack 2
This article was previously published under Q269282
BUG #: 58199 (SQLBUG_70)
SYMPTOMS
The following error message might occur when you use a non-clustered index for a select query on a temporary table:
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..
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.
WORKAROUND
Use either of the following two methods to work around this problem:
- 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.
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.
Modification Type: | Major | Last Reviewed: | 3/14/2006 |
---|
Keywords: | kbBug kbfix KB269282 |
---|
|