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

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Difference between index and key

Author  Topic 

KlausEngel
Yak Posting Veteran

85 Posts

Posted - 2010-10-04 : 08:44:59
Can anybody explain to me the difference between a clustered index, non-clustered index, primary key and compound key?

DonAtWork
Master Smack Fu Yak Hacker

2167 Posts

Posted - 2010-10-04 : 08:52:52
Books Online can!

http://weblogs.sqlteam.com/jeffs/archive/2008/05/13/question-needed-not-answer.aspx
How to ask: http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

For ultra basic questions, follow these links.
http://www.sql-tutorial.net/
http://www.firstsql.com/tutor.htm
http://www.w3schools.com/sql/default.asp
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-10-04 : 08:56:05
A good start about indexes is here:
http://weblogs.sqlteam.com/mladenp/archive/2007/09/18/Back-To-Basics-What-is-a-Clustered-and-a-Non-Clustered.aspx
and here:
http://www.sqlteam.com/article/sql-server-indexes-the-basics


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-10-04 : 09:15:32
And here:
http://www.sqlservercentral.com/articles/Indexing/68439/

--
Gail Shaw
SQL Server MVP
Go to Top of Page
   

- Advertisement -