Clustered and non-clustered index in SQL

Question

What is the difference between clustered and non-clustered index in SQL?

in progress 0
Pragya Rani 4 years 1 Answer 716 views Contributor 0

Answer ( 1 )

  1. Clustered index is used for easy retrieval of data from the database by altering the way that the records are stored. Database sorts out rows by the column which is set to be clustered index.
    A nonclustered index does not alter the way it was stored but creates a complete separate object within the table. It points back to the original table rows after searching.

Leave an answer

Browse
Browse