When I am going to create a non clustered index in SQL SERVER, SSMS appears in the option to choose whether the option "Columns" is ASC
or DESC
, as shown below: / p>
Generally, I use ASC
or DESC
to sort the results of the table, but in the case of the clustered index I do not understand the meaning very well.
I would like to know the following:
- What is the difference between
ASC
andDESC
in the case of defining a clustered index ? - Set
ASC
orDESC
entails some noticeable performance difference or something else? - When should I use both? In this case, can I create a clustered index
ASC
and anotherDESC
for the same column?