Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Database Views

Former Member
0 Kudos
124

How does a view accommodate indexes?

Are the indexes of its tables made part of the view?

And does a SELECT issued against the view trigger a

index?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
106

A view contains no indexes but uses the indexes of the underlying tables if it can, just as SQL against the underlying tables use an index if it can.

A view is just for convenience.

2 REPLIES 2

Former Member
0 Kudos
106

They are if you include them in the view.

Rob

Former Member
0 Kudos
107

A view contains no indexes but uses the indexes of the underlying tables if it can, just as SQL against the underlying tables use an index if it can.

A view is just for convenience.