Posted by Baihao Yuan on 06/08/06 22:50
Hi,
I created a composite index (lastname, firstname). I know the following
queries will use this index:
WHERE lastname = ...
WHERE lastname = ... AND firstname = ...
Also this won't use the index:
WHERE firstname = ...
But how about: WHERE firstname = .. AND lastname = ...
And why?
Thanks a lot,
Baihao
--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
Navigation:
[Reply to this message]
|