case-insensitive SORT BY?

From: Patrick Giagnocavo <pgiagnoc(at)qi(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: case-insensitive SORT BY?
Date: 1998-09-22 19:53:31
Message-ID: 3608003B.2AA4ED27@qi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I am trying to ensure that when I do a SORT BY I get back the results in
normal sorted order instead of case-sensitive order. The WHERE clause
contains a LIKE '%..%' so I cannot use UPPER here in a way that does
what I want.

e.g. , given

A, B, b, a

as data, the normal SORT BY behavior returns

a
b
A
B

How do I make it return

a
A
b
B

instead?

./patrick

Browse pgsql-sql by date

  From Date Subject
Next Message G. Anthony Reina 1998-09-22 20:09:55 Selecting from float4[] arrays
Previous Message Colin Dick 1998-09-22 17:37:13 Question re: null