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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Indexing issue

Status
Not open for further replies.

Souvik

Technical User
Apr 2, 2003
11
IN
Hi,
I have a view based on a select from two underlying tables. These tables have a non-clustered index on the column used in the join for the view. But a select * on the view takes about the same time, even if I take out the indices from the underlying table. Is it then not guaranted that the optimizer uses the undrelying indices on the tables??
Many thanks,
 
You can force the use of indices by including index hints . Take a look at Books Online (BOL) index hints.

I hope that this helps,

dinzana
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top