Re: convert NULL into a value - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: convert NULL into a value
Date
Msg-id 200212120403.gBC43ZR07085@candle.pha.pa.us
Whole thread Raw
In response to convert NULL into a value  ("Jonathan Man" <jman@equityunderwriters.com.hk>)
List pgsql-sql
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,
Pennsylvania19073
 


pgsql-sql by date:

Previous
From: Ludwig Lim
Date:
Subject: Re: convert NULL into a value
Next
From: "A.M."
Date:
Subject: Re: Getting the latest unique items