Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 Article: Indexed Views in SQL Server 2000
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ask SQLTeam Question

0 Posts

Posted - 10/16/2000 :  17:22:17  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
In this excellent article Doug covers the basics of creating an Indexed View. He also goes into detail on sizing considerations and when and when not to use an Indexed View.

Article Link.

Starting Member

14 Posts

Posted - 09/22/2004 :  12:11:55  Show Profile  Reply with Quote
I thought I would try using an indexed view in my application for data loads we get once a day (we currently have to do some subqueries, and I wanted to replace them with a join on an indexed view). However, the restrictions on them made it impossible. I think indexed views are pretty much useless in their current form.

Does anyone know if they are improved in SQL Server 2005?


Go to Top of Page


United Kingdom
22859 Posts

Posted - 09/22/2004 :  13:34:13  Show Profile  Reply with Quote
My sentiments entirely. We used this to, for example, put a unique index on a table that permitted multiple rows with NULL - the NULL rows were excluded in the VIEW and thus we got a unique index on the not-null ones.

Ever since then we've been playing silly-B's with ARITHABORT, INSTEAD_OF triggers to work around the fact that you cann't insert through the VIEW and a bunch of other stuff.

No doubt for queries that use VIEWs with indexes that actualy had performance problems its a bonus, but the crafty use we have used them for has been a PITA.

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000