Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hint for Table Scan 1

Status
Not open for further replies.

nnkumar

Technical User
Dec 28, 2000
2
US
For tables with no Clustered index, hint INDEX(0) will force a table scan. But, I query a table with Clustered index. Is there any hint to force the optimizer to do a Table scan? I am using SQL Server 2000.

Thanks in Advance.
 
Once you have a clustered index on a table, it will always be used due to the fact that the data exists in the leaf node of the index. Sorry, but you cannot do this without dropping the index.
Tom Davis
tdavis@sark.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top