Subject | Re: INDEXes for a Query |
---|---|
Author | peter_jacobi.rm |
Post date | 2004-03-18T10:19:25Z |
--- In firebird-support@yahoogroups.com, "Svein Erling" wrote:
But any multi-level collation (like the de_DE etc) can be used
in combination with BETWEEN for a similiar effect.
BETWEEN LOWER(WpName) and UPPER(WpName) || "ZZ"
Regards,
Peter Jacobi
> prepare time the optimizer cannot know whether :Parametername willFor the foreseeable future, that's too much AI questioned for.
> start with a constant or '%'. That's why I prefer using UPPER_WPName
> STARTING 'OEDER'. Possibly UPPER(W.WpName) could use an index if you
> use a case insensitive collation, but I've never used a case
> insensitive collation myself.
But any multi-level collation (like the de_DE etc) can be used
in combination with BETWEEN for a similiar effect.
BETWEEN LOWER(WpName) and UPPER(WpName) || "ZZ"
Regards,
Peter Jacobi