xrapidx
Honorary Master
- Joined
- Feb 16, 2007
- Messages
- 40,309
quick question - trying to explain something to someone, and can't quite recall exactly.
If I create THREE different indexes on three different columns on a SQL Table as follows:
[Column A] idx_a
[Column B] idx_b
[Column c] idx_c
And then run the following query:
SELECT *
FROM
WHERE [Column A] = 1
AND [Column B] = 1
AND [Column C] = 1
Only one of the indexes created will be used in that query? Is that correct?!
Not near SQL to check - and google isn't returning what I want.
If I create THREE different indexes on three different columns on a SQL Table as follows:
[Column A] idx_a
[Column B] idx_b
[Column c] idx_c
And then run the following query:
SELECT *
FROM
WHERE [Column A] = 1
AND [Column B] = 1
AND [Column C] = 1
Only one of the indexes created will be used in that query? Is that correct?!
Not near SQL to check - and google isn't returning what I want.