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

From Ludwig Lim
Subject Re: convert NULL into a value
Date
Msg-id 20021212040347.81662.qmail@web80305.mail.yahoo.com
Whole thread Raw
In response to convert NULL into a value  ("Jonathan Man" <jman@equityunderwriters.com.hk>)
List pgsql-sql
--- Jonathan Man <jman@equityunderwriters.com.hk>
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??
> 
-- The equivalent function is PostgreSQL is 
SELECT COALESCE(field,0)


regards,

ludwig.

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


pgsql-sql by date:

Previous
From: "Jonathan Man"
Date:
Subject: convert NULL into a value
Next
From: Bruce Momjian
Date:
Subject: Re: convert NULL into a value