Subject | Re: [firebird-support] in vs exist |
---|---|
Author | Helen Borrie |
Post date | 2003-12-19T07:46:11Z |
At 09:47 AM 19/12/2003 +0300, Dmitry Sibiryakov wrote:
/heLen
>On 19 Dec 2003 at 13:15, Helen Borrie wrote::-) Sorry, Dmitry.
>
> >FB 1.5 actually resolves an IN() predicate to an EXISTS() predicate if it
> >can, and then will use an index if a useful one is available. (I thought
> >this was one of Arno's 1.5 optimizations, but D. Sibiryakov thinks this
> >optimization was in the Fb 1.0.x engine as well..)
>
> Hey, hey! Do you sleep enough? You should care about your health
>(including mental one) and no matter how much you are payed or
>pressed.
> Don't distort my words, please. I said that "LIKE 'string%'" canYou did, it's quite true.
>uses index in FB1 (as STARTING WITH does) but nothing about IN.
/heLen