Subject | Re: [firebird-support] Indexed used with search name='TEST' but not with name like 'TEST%' |
---|---|
Author | Anderson Farias |
Post date | 2008-04-25T21:08:57Z |
Hi,
SELECT ... WHERE NAME STARTING :Parm
And FB will use a Index (but that's not true for CONTAINING)
Regards,
Anderson Farias
> But Firebird will *not* use an index for a prepared query like:But you can always change this to
> SELECT ... WHERE NAME LIKE :Parm
> This is a known/documented limitation.
SELECT ... WHERE NAME STARTING :Parm
And FB will use a Index (but that's not true for CONTAINING)
Regards,
Anderson Farias