2 つの列でインデックスを作成することと、2 つの列で別のインデックスを作成することの違いは何ですか?
との差
create nonclustered index ix_index1 on table1(col1)
create nonclustered index ix_index2 on table1(col2)
と
create nonclustered index ix_index1 on table1(col1, col2)
2 つの列でインデックスを作成することと、2 つの列で別のインデックスを作成することの違いは何ですか?
との差
create nonclustered index ix_index1 on table1(col1)
create nonclustered index ix_index2 on table1(col2)
と
create nonclustered index ix_index1 on table1(col1, col2)