From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Jonathan Man <jman@equityunderwriters.com.hk>
Cc: pgsql <pgsql-sql@postgresql.org>
Subject: Re: convert NULL into a value
Date: Wed, 11 Dec 2002 23:03:34 -0500 (EST)
Message-ID: <200212120403.gBC43ZR07085@candle.pha.pa.us> (raw)
In-Reply-To: <003701c2a194$28fc4b90$8401a8c0@equity.com>
No, the SQL standard command is COALESCE.
---------------------------------------------------------------------------
Jonathan Man wrote:
> Hi,
>
> There is a function on the Oracle. That is NVL(field, 0) to convert null into a value (e.g. ZERO).
>
> Can I use this function on the PostgreSQL??
>
>
> Thank you for your help!!
>
> Regards,
>
> JONATHAN MAN
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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: pgman@candle.pha.pa.us, jman@equityunderwriters.com.hk
Subject: Re: convert NULL into a value
In-Reply-To: <200212120403.gBC43ZR07085@candle.pha.pa.us>
* 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