Subject | Re: [firebird-support] Usage of expression index - Known limitation? |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2008-07-21T17:31:52Z |
Leyne, Sean escreveu:
substring before the wildcard> that cause the index to be used. As the
PLAN is choose at prepare time, I see no good way to LIKE <non constant>
to use indexes.
Adriano
> This is a known limitation of the *LIKE operator*.LIKE <constant not starting with wildcard> injects a STARTING <constant
>
> {though I'm not sure this particular twist has been logged in the
> tracker}
>
> I tried the same statements with a "standard" index and they exhibited
> the same modes.
>
substring before the wildcard> that cause the index to be used. As the
PLAN is choose at prepare time, I see no good way to LIKE <non constant>
to use indexes.
Adriano