Can I create indexes on multiple columns in SQL Server 2012?
2 answers
You can create a composite clustered index that contains multiple columns in your index. But it will affect insert / update performance.
A simple clustered index would be like
PRIMARY KEY CLUSTERED ([Col1] ASC, [Col2] ASC, [COL3] ASC)
This means that datarows are stored as -
Col1 Col2 Col3
1 1 1
1 1 2
1 2 3
2 5 2
2 6 5
3 2 1
3 5 2
0
source to share