Subject | Re: [firebird-support] Can this be optimized |
---|---|
Author | Stefan Heymann |
Post date | 2006-05-19T12:36:51Z |
Dmitry,
PLAN (EMPLOYEE ORDER IDX_EMPLOYEE_HIRE)
but *only* when the Index IDX_EMPLOYEE_HIRE is also declared as
DESCENDING.
Thanks :-)
Best Regards
Stefan
--
Stefan Heymann
www.destructor.de/firebird
> Do you try ORDER statement?That's great:
> select first 1 *
> from employee
> order by hire_date desc
PLAN (EMPLOYEE ORDER IDX_EMPLOYEE_HIRE)
but *only* when the Index IDX_EMPLOYEE_HIRE is also declared as
DESCENDING.
Thanks :-)
Best Regards
Stefan
--
Stefan Heymann
www.destructor.de/firebird