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 -> Why it is not a compilation error?

Why it is not a compilation error?

From: <Serguei.Goumeniouk_at_cibc.ca>
Date: 13 Jul 2005 07:52:10 -0700
Message-ID: <1121266330.135919.205620@g43g2000cwa.googlegroups.com>

   Dear Experts,
Could you please explain me the behavior of the following codes?

.... Declaration section ...........

volume number := NULL;
.... Codes .........................

IF (number = NULL) THEN
.... do A actions .....

END IF; IF (number IS NULL) THEN
.... do B actions ......

END IF; These if-blocks work in a different way (at least in my codes). 1) Why the first if-block is not a compilation error? 2) What the construction like "something = NULL" means?

  Regards,
   Serguei. Received on Wed Jul 13 2005 - 09:52:10 CDT

Original text of this message

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