Subject | Re: Case insensitive queries in Firebird 3 ? |
---|---|
Author | diegodelafuente |
Post date | 2005-11-30T19:02:58Z |
--- In firebird-support@yahoogroups.com, Carsten Schäfer
<ca_schaefer@g...> wrote:
if you hace a field called "name", make a new one
called "name_upper".
run a Sql command like "update 'table' set name_upper = upper(name);"
And then in the insert procedure you can add tha value to the
field "name" and the same value with upper("value") to
the "name_upper" field.
the you have thist field with all Upper values and you can run a
case insensitive search in thist field (you must apply an index to
thist field)
That works fine, but you must note that you must duplicate the the
fields using more space in the DB.
Sorry for my english
Diego de la Fuente
Buenos Aires, Argentina
<ca_schaefer@g...> wrote:
>Firebird 3 ?
> Hi,
> will there be case insensitive queries that can use an index in
> I often see questions about this issue in this newsgroup and now iwant
> to know if this problem will be adressed in the next future ?You can use a work arround in firebird 1.5.
> I think it would be a very useful feature.
>
> mfg
> Carsten
>
if you hace a field called "name", make a new one
called "name_upper".
run a Sql command like "update 'table' set name_upper = upper(name);"
And then in the insert procedure you can add tha value to the
field "name" and the same value with upper("value") to
the "name_upper" field.
the you have thist field with all Upper values and you can run a
case insensitive search in thist field (you must apply an index to
thist field)
That works fine, but you must note that you must duplicate the the
fields using more space in the DB.
Sorry for my english
Diego de la Fuente
Buenos Aires, Argentina