Archive for April 27th, 2009
From Stack Overflow:
When you create an index on a column or number of columns in MS SQL Server (I’m using version 2005), you can specify that the index on each column be either ascending or descending.
I’m having a hard time understanding why this choice is even here. Using binary sort techniques, wouldn’t a lookup be just as fast either way?
What difference does it make which order I choose?
This matters when the composite indexes are used.
Let’s create a sample table:
Read the rest of this entry »