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

Can indices be created for views? 1

Status
Not open for further replies.

joelwenzel

Programmer
Jun 28, 2002
448
I have a view that combines data from 4 tables. Can I create an index for the view? or should the indices created for the original tables speed up searching enough?
 
A view is similar in concept to a subselect; data is retrieved from the underlying tables, taking advantage of any indexes on those tables, when the view is queried. Therefore, indexing a view would not make sense.
 
ok, I wasn't sure ifview indices made sense or not. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top