RE: ORDER BY Problem... - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject RE: ORDER BY Problem...
Date
Msg-id ECEHIKNFIMMECLEBJFIGCEONCAAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to ORDER BY Problem...  (Severin Olloz <S.Olloz@soid.ch>)
Responses Re: ORDER BY Problem...  (teg@redhat.com (Trond Eivind Glomsrød))
List pgsql-hackers
As far as I know, this is the standard (ASCII-ordered) way of sorting text.
For example, MySQL does the same thing.

Chris

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org]On Behalf Of Severin Olloz
> Sent: Wednesday, 6 June 2001 8:56 AM
> To: pgsql-hackers@postgresql.org
> Subject: [HACKERS] ORDER BY Problem...
>
>
> Hello...
>
> Why does Postgresql order the uppercase letters first?
>
> I have e.g. a table with one row an in this row there are follow values:
>
> row1
> ----
> ADC
> aa
> ABC
>
> With this select-syntax
>
> select * from table order by row1
>
> I become this output
>
> ABC
> ADC
> aa
>
> but I want this ouptut:
>
> aa
> ABC
> ADC
>
> What do I wrong?
>
> --
> Gruss: Severin Olloz
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: psql bug or feature?
Next
From: Tom Lane
Date:
Subject: Re: [SQL] behavior of ' = NULL' vs. MySQL vs. Standards