Re: convert result to uppercase

From: Andrew Kelly <akelly(at)transparency(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: convert result to uppercase
Date: 2004-04-21 10:17:31
Message-ID: 1082542650.4131.162.camel@hermes.at.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2004-04-20 at 23:39, Janning Vygen wrote:
> Am Dienstag, 13. April 2004 14:17 schrieb Victor Spång Arthursson:
> > Hi!
> >
> > How do i convert a result to upper/lowercase?
>
> This is a question
>
> > SELECT UPPER(lang) from languages;
>
> and this is the answer. It works exactly like this:
>
> SELECT UPPER('dk');
>
> results in 'DK'
>
> kind regards,
> Janning

Aren't we now back to the recent thread about UTF-8 and case conversion?
How do you make UPPER and LOWER work on a multi-byte encoded stuff?
How do you get a properly alphabetized return set that, for example,
contains English, German, French, Spanish, Russian and Turkish records?

Andy

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2004-04-21 11:13:08 Re: Downgrading from Postgresql 7.4 to 7.1
Previous Message OtisUsenet 2004-04-21 09:19:44 Ordering YYYY MM DD in reverse chrono order