Re: case insensitive sorting & searching in oracle 10g

From: David Garamond <lists(at)zara(dot)6(dot)isreserved(dot)com>
To: Pierre-Frédéric Caillaud <lists(at)boutiquenumerique(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: case insensitive sorting & searching in oracle 10g
Date: 2004-08-05 11:41:51
Message-ID: 41121CFF.7010908@zara.6.isreserved.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

- not transparent
- can't automatically make all values fed to SELECT case-converted
- not transparent

Pierre-Frédéric Caillaud wrote:
>
> create a functional index on lower case value of your column.
> ORDER BY lower case value of your column.
>
>
>> in oracle 10g, you can issue:
>>
>> ALTER SESSION SET NLS_COMP = ansi;
>> ALTER SESSION SET NLS_SORT = binary_ci;
>>
>> do you think this is an elegant solution for case insensitive sorting
>> & searching? is there interest in seeing this in postgres?

--
dave

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Darley 2004-08-05 13:28:19 Re: most idiomatic way to "update or insert"?
Previous Message Tommi Maekitalo 2004-08-05 11:29:46 Re: psql and md5