Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > confusion over ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 11072 of 11517
Post > Topic >>

confusion over indexs via primary key and clustered index

by codefragment@[EMAIL PROTECTED] May 23, 2008 at 03:00 AM

Hi
  I thought that given a table with an index, primary key and
clustered index any non clustered index look ups would go via the
clustered index and the primary key is irrelevant?
(sql server 2000). A colleague has said that the primary key should be
the clustered index
because all index lookups will go via the primary key.
  Is this right? I thought the primary key was nothing more than a
constraint on what data can be entered into the table.
  Does it matter if the primary key is the same as the clustered
index?

ta
 




 7 Posts in Topic:
confusion over indexs via primary key and clustered index
codefragment@[EMAIL PROTE  2008-05-23 03:00:40 
Re: confusion over indexs via primary key and clustered index
"Thomas R. Hummel&qu  2008-05-23 09:18:04 
Re: confusion over indexs via primary key and clustered index
Erland Sommarskog <esq  2008-05-23 21:33:51 
Re: confusion over indexs via primary key and clustered index
Erland Sommarskog <esq  2008-05-23 21:39:48 
Re: confusion over indexs via primary key and clustered index
Ed Murphy <emurphy42@[  2008-05-28 00:37:43 
Re: confusion over indexs via primary key and clustered index
codefragment@[EMAIL PROTE  2008-05-27 05:25:16 
Re: confusion over indexs via primary key and clustered index
Gert-Jan Strik <sorry@  2008-05-27 21:04:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 1:15:06 CST 2008.