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!

Adding an Index to a Query/View

Status
Not open for further replies.

Darrick

Technical User
Aug 28, 2001
77
US
Hello all,

I am having some trouble with a few of my views. They are timing out, and I would like to optimize them by adding indexes. I am not sure how to actually do this. Any help would be appreciated.

I am using SQL 2000 Standard.

Thanks again,

Darrick
 
Thanks, but that was the first place I looked. The help really didn't provide much help on what I can do. More or less stated how to put an index on a table and said that it could be applyed to a view as well. However, I haven't had any luck with that method.

Darrick
 
look in BOL for creating indexed views. Although you can use them and they are extremely efficient there are strict criteria that must be met in order to use them. They view must also be schema bound.

Shoot Me! Shoot Me NOW!!!
- Daffy Duck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top