I have a query that runs it a bit, looks like this.
Select a.ColumnA,a.ColumnB,a.ColumnC,a.CoulmnD,a.columnE,...b.ColumnH
from Table A a
inner join Table B b
on a.columnB = b.ColumnB
Where a.columnA = @VariableA
Now it has a clustered index in table A like this
Clustered Index on ColumnA
It also has a non-clustered index in table A like this
NonClustered Index on (ColumnA,ColumnB) include (ColumnC,ColumnD)
Should I add ColumnsE-G to the index?
source
share