From: Dan Langille <dan@langille.org>
To: Ian Burrell <ib@onsitetech.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Sorting by NULL values
Date: Tue, 4 Mar 2003 15:07:29 -0500 (EST)
Message-ID: <20030304150627.H38754@xeon.unixathome.org> (raw)
In-Reply-To: <3E65023E.10404@onsitetech.com>
References: <3E65023E.10404@onsitetech.com>
On Tue, 4 Mar 2003, Ian Burrell wrote:
> Is there any standard on how sorting NULLs work? Is there a way to
> change Postgres's behavior? Is there a way to replace the NULLs with
> empty strings?
I think what you want may be either COALESCE or ISNULL/IFNULL or perhaps a
CASE statement.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dan@langille.org, ib@onsitetech.com
Subject: Re: Sorting by NULL values
In-Reply-To: <20030304150627.H38754@xeon.unixathome.org>
* 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