Re: case insensitive sorting & searching in oracle 10g

From: Tommi Maekitalo <t(dot)maekitalo(at)epgmbh(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: case insensitive sorting & searching in oracle 10g
Date: 2004-08-05 13:34:00
Message-ID: 200408051534.00196.t.maekitalo@epgmbh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I don't like the solution. "Select ... order by ..." should be self-contained
and not dependant of some settings. Case-insensitive sort should be specified
in the order-by-clause like "select ... order by lower(a)".

Tommi

Am Donnerstag, 5. August 2004 11:04 schrieb David Garamond:
> 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?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jerry LeVan 2004-08-05 13:35:48 Re: Simplfied Bytea input/output?
Previous Message Peter Darley 2004-08-05 13:28:19 Re: most idiomatic way to "update or insert"?