Index ID %d on table ‘%.*ls’ (specified in the FROM clause) does not exist.

Error Message:
Msg 307, Level 16, State 1, Line 1
Index ID %d on table ‘%.*ls’ (specified in the FROM clause) does not exist.

Severity level:
16.

Description:
This error message appears when you try to specify an index that does not exist in an index hint.

Consequences:
The T-SQL statement can be parsed, but causes the error at runtime.

Resolution:
Error of the Severity Level 16 are generated by the user and can be fixed by the SQL Server user. The index must exis, before it can be used in the index hint.

Versions:
All versions of SQL Server.

Example(s):
SELECT *
  FROM Northwind.dbo.Orders
  WITH (Index=255)

Remarks:
In the above example we try to use an index on the Northwind.dbo.Orders table with the id of 255. Because no such index exists, the error is raised.




Related Articles :

  • No Related Articles Found

No comments yet... Be the first to leave a reply!

Software Reviews | Book Reviews | FAQs | Tips | Articles | Performance Tuning | Audit | BI | Clustering | Developer | Reporting | DBA | ASP.NET Ado | Views tips | | Developer FAQs | Replication Tips | OS Tips | Misc Tips | Index Tuning Tips | Hints Tips | High Availability Tips | Hardware Tips | ETL Tips | Components Tips | Configuration Tips | App Dev Tips | OLAP Tips | Admin Tips | Software Reviews | Error | Clustering FAQs | Performance Tuning FAQs | DBA FAQs |