Subject | Re: [firebird-support] Indexes automatically used? |
---|---|
Author | Ivan Prenosil |
Post date | 2005-08-15T11:37:26Z |
"Clay Shannon" wrote:
If you have separate indexes for each field, only one can be used (for sort_order field).
Ivan
> Is the db "smart enough" to automatically use the composite index in theORDER BY can use only one index.
> case mentioned:
>
> Order by sort_order, empno, shiftdate, created desc
If you have separate indexes for each field, only one can be used (for sort_order field).
Ivan