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

Home -> Community -> Usenet -> c.d.o.tools -> NULL values in arithmetic

NULL values in arithmetic

From: Matt Pryor <matt_at_ddm-net.com>
Date: 2000/08/02
Message-ID: <965243472.345182@lnd-hst-1.atlas.net.uk>#1/1

Hi there,

I'd expect the following query:

    select (15+NULL+8+4) from emp;

to ignore the NULL and return the sum of 15,8 and 4. Instead it returns NULL. Is this normal? Why is it? Is there a workaround?

Thanks in advance for any help,

Matt Received on Wed Aug 02 2000 - 00:00:00 CDT

Original text of this message

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