Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: DECODE and NVL

Re: DECODE and NVL

From: Terry Dykstra <tddykstra_at_forestoil.ca>
Date: Tue, 29 May 2007 19:27:33 GMT
Message-ID: <F8%6i.61999$V75.17818@edtnps89>


"maomao" <mm_at_mailinator.com> wrote in message news:135ov26mb4pav8f_at_corp.supernews.com...
> 10gR2
>
> I'm kind of self-doubting now, I'd like to run this by you gurus;
>
> I see this in pl/sql : (written by God-knows-who)
>
> DECODE(some-number-column, NULL, 0,some-number-column)
>
> Is this in fact SAME as NVL(some-number-column, 0) ???
>
> thanks
>
>

Looks the same to me.

-- 
Terry Dykstra 
Received on Tue May 29 2007 - 14:27:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US