Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa SQL clustered and a non-clustered index?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


hemant kumar
clustered and a non-clustered index?
1 Answer(s)      4 years ago
Posted in : SQL


What is the difference between clustered and a non-clustered index?


Advertisement
View Answers

November 15, 2010 at 1:02 PM


Hi,

Here is the answer,

A clustered index is a special type of index that reorders the way records in the table are physically stored. Therefore table can have only one clustered index. The leaf nodes of a clustered index contain the data pages.

A nonclustered index is a special type of index in which the logical order of the index does not match the physical stored order of the rows on disk. The leaf node of a nonclustered index does not consist of the data pages. Instead, the leaf nodes contain index rows.

Thanks,



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com