From: Adrian Tineo <adriantineo@softhome.net>
To: pgsql-php@postgresql.org
Subject: Re: ORDER BY question
Date: Thu, 27 Feb 2003 11:54:06 +0100
Message-ID: <001601c2de4e$a0176ba0$f8ddd8d9@supercable.es> (raw)
References: <31EA81C61A3D014F8D6933864F32C604059151@server1.fusion-advertising.co.uk>
>Is there any way to do a case insensitive sort?.
Try:
SELECT colum_name
FROM table_name
ORDER BY upper(colum_name);
For a list of support functios like upper() check this url:
http://www.postgresql.org/docs/aw_pgsql_book/node92.html
_________
Adrian Tineo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: adriantineo@softhome.net
Subject: Re: ORDER BY question
In-Reply-To: <001601c2de4e$a0176ba0$f8ddd8d9@supercable.es>
References: <31EA81C61A3D014F8D6933864F32C604059151@server1.fusion-advertising.co.uk> <001601c2de4e$a0176ba0$f8ddd8d9@supercable.es>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox