Subject | Re: [firebird-support] slow: "select first(1) * from table where partnumber >= :search order by partnumber" |
---|---|
Author | Ann W. Harrison |
Post date | 2005-06-20T20:16:23Z |
G. Nau wrote:
Regards,
Ann
>What indexes do you have and what does the query plan look like?
> I use the following selects to search for a single record equal or
> greater than the searchstring:
> "select first(1) * from table where partnumber >= :search order by
> partnumber"
>
> It's working well, but kind of slow on bigger tables (>20.000 records).
Regards,
Ann