pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Patrick Giagnocavo <pgiagnoc@qi.com>
To: pgsql-sql@postgresql.org
Subject: case-insensitive SORT BY?
Date: Tue, 22 Sep 1998 15:53:31 -0400
Message-ID: <3608003B.2AA4ED27@qi.com> (raw)

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



view thread (4+ messages)  latest in thread

Message-ID: <3608003B.2AA4ED27@qi.com>
Permalink:  ../3608003B.2AA4ED27@qi.com/
Also on:    postgresql.org/message-id/3608003B.2AA4ED27@qi.com

 · 

reply

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-sql@postgresql.org
  Cc: pgiagnoc@qi.com
  Subject: Re: case-insensitive SORT BY?
  In-Reply-To: <3608003B.2AA4ED27@qi.com>
  References: <3608003B.2AA4ED27@qi.com>

* 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