Clustered indexes sort and store rows of data in a table or view based on their key values.
https://msdn.microsoft.com/en-IN/library/ms190457.aspx
This means that if the table has a clustered index, then the rows of this table will be stored on disk in the same exact order as the clustered index.
Secondly, the leaf nodes of the clustered index contain the data pages of the table on which it is created.
https://technet.microsoft.com/en-us/library/ms177443%28v=sql.105%29.aspx
So my question is, are the same data stored in the cluster index and the table on which it is created?
If so, what is the need to sort the table in the same order as the clustered index? Because the clustered index itself stores row-level data in its leaf nodes.
And if not, what is the actual theory of creating a cluster index?
source
share