This in the only way to do it properly to get the desired results : NULL « Data Type « Oracle PL / SQL






This in the only way to do it properly to get the desired results

 
SQL> select 12 from dual where null is null;

        12
----------
        12

1 row selected.

SQL>
SQL>

 








Related examples in the same category

1.2 meaningless values can't be compared against one another
2.using the nvl function