Re: case senesitive

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: HENAFF Mari-mai FTRD/DMI/LAN <marimai(dot)henaff(at)rd(dot)francetelecom(dot)fr>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: case senesitive
Date: 2000-06-11 11:41:42
Message-ID: Pine.LNX.4.21.0006111136440.353-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

HENAFF Mari-mai FTRD/DMI/LAN writes:

> And is it possible to make a query containing an ORDER BY that is not case
> sensitive ?

Option 1:

SELECT * FROM table ORDER BY upper(field);

Option 2:

Build with --enable-locale. Most locales sort a, A, b, B, etc.

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2000-06-11 11:45:39 Re: multi processor
Previous Message Peter Eisentraut 2000-06-11 11:41:17 Re: multi processor