| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Why it is not a compilation error?
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
![]() |
![]() |