Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Inserting surname of Null from a subquery results in a NULL value
I don't see the problem:
CREATE TABLE a(n VARCHAR2(30))
Table created
INSERT INTO a VALUES('Null')
1 row inserted
SELECT N,
CASE WHEN n IS NULL THEN 'n IS NULL' ELSE 'n IS NOT NULL' END IS_NULL
FROM a
N IS_NULL ------------------------------ ------------- Null n IS NOT NULL1 row selected
DROP TABLE a
Table dropped
Received on Fri Dec 10 2004 - 11:04:39 CST