Re: Order by and words beginning with capitals

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tjibbe Rijpma" <t(dot)b(dot)rijpma(at)student(dot)tudelft(dot)nl>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Order by and words beginning with capitals
Date: 2005-01-29 00:15:32
Message-ID: 28643.1106957732@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Tjibbe Rijpma" <t(dot)b(dot)rijpma(at)student(dot)tudelft(dot)nl> writes:
> How can I make a query like this:

> SELECT id, words FROM words ORDER BY upper(words)

> That I get a result like this (with the capitals intact but ordered =
> correctly):

> 1. bear
> 2. cat
> 3. Dog
> 4. fish
> 5. Giraffe

Works for me. Perhaps you should explain what problem you're having.

(A first guess is that you don't have your locale set up correctly,
but with no information that's strictly a guess.)

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Dmitry Konnov 2005-01-29 11:06:44 History question. Please name all clones of PostGre
Previous Message Tjibbe Rijpma 2005-01-28 23:29:26 Order by and words beginning with capitals