SQL Server Forums
Profile | Register | 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
 New Topic  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
36997 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  
 New 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.08 seconds. Powered By: Snitz Forums 2000