Answers

Question and Answer:

  Home  SQL Server Indexes

⟩ Explain the difference between clustered and non-clustered index?

Both stored as B-tree structure. The leaf level of a clustered index is the actual data where as leaf level of a non-clustered index is pointer to data. We can have only one clustered index in a table but we can have many non-clustered index in a table. Physical data in the table is sorted in the order of clustered index while not with the case of non-clustered data.

 214 views

More Questions for you: