hi friends
What is cluster.cluster index and non cluster index ?
Indexing
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vineet Kumar SainiRank #257 · 9.8K reputationPosted Nov 12, 2011, 2:16 AM EST
An index provides us ways of speeding the lookup of our information.
Indexes fall into two categories:
syn - CREATE [ UNIQUE ] [ CLUSTERED | NONCLUSTERED ] INDEX index_name on table(col)
Clustered— You can have only one of these per table. If an index is clustered,
it means that the table on which the clustered index is based is
physically sorted according to that index.
this is auto create if table definition contain any primary key
constraint
create [unique] clustered index my on a(empno)
Non-clustered— You can have many of these for every table. This is more
along the lines of what you probably think of when you hear the word
"index." This kind of index points to some other value that will let
you find the data.
create unique nonclustered index my on a(empno)
Please reply if answer is good.