Please start any new threads on our new site at http://forums.sqlteam.com. 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
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Primary and Non-Clustered Indexes
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sqldba20
Posting Yak Master

183 Posts

Posted - 08/01/2007 :  16:00:13  Show Profile  Reply with Quote
Folks:

I have a 1 Primary Clustered Index and the user created Non-Clustered Index. When I run a query and see the execution plan it uses the Primary Clustered Index (Index seek) but what could be the reason it doesn't use the Non-clustered index?



Thanks !

tkizer
Almighty SQL Goddess

USA
38200 Posts

Posted - 08/01/2007 :  16:09:49  Show Profile  Visit tkizer's Homepage  Reply with Quote
Because the optimizer thinks the clustered index will be more efficient.

Tara Kizer
http://weblogs.sqlteam.com/tarad/
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.02 seconds. Powered By: Snitz Forums 2000