Re: sorting problem - Mailing list pgsql-general

From Michael Fuhr
Subject Re: sorting problem
Date
Msg-id 20041217004921.GA9175@winnie.fuhr.org
Whole thread Raw
In response to sorting problem  (Jamie Deppeler <jamie@doitonce.net.au>)
Responses Re: sorting problem
List pgsql-general
On Fri, Dec 17, 2004 at 11:28:36AM +1100, Jamie Deppeler wrote:

> Problem i am having at the moment i cant get a true alpha sort to work
> as Order By is sorting A..Z then a..z where i need aA..zZ sort
> independant of case.

ORDER BY LOWER(person.lastname)

or

ORDER BY UPPER(person.lastname)

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: sorting problem
Next
From: Michael Fuhr
Date:
Subject: Re: sorting problem