Subject | Re: [ib-support] Re: containing, like, = |
---|---|
Author | Nando Dessena |
Post date | 2001-09-14T02:59:15Z |
Paul,
I would like to add that if you use
LIKE ?
then no indexes are used whatever the param value is.
Ciao
--
____
_/\/ando
> LIKE '%XY%' works in exactly the same way as STARTING WITH, i.e. it isI think you meant LIKE 'XY%' here.
> optimised the same way if an index is there is will be used.
I would like to add that if you use
LIKE ?
then no indexes are used whatever the param value is.
> This optimisation feature was added around the 4.x time frame if I rememberI thought IB5.
> rightly. So if you have an older version of InterBase (3.3) you may not see
> this behaviour.
Ciao
--
____
_/\/ando