Re: case insensitive sorting & searching in oracle 10g

From: Pierre-Frédéric Caillaud <lists(at)boutiquenumerique(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: case insensitive sorting & searching in oracle 10g
Date: 2004-08-05 09:52:58
Message-ID: opsb862kwbcq72hf@musicbox
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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?
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-08-05 10:01:27 Re: most idiomatic way to "update or insert"?
Previous Message David Garamond 2004-08-05 09:04:20 case insensitive sorting & searching in oracle 10g