Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> IN ignore null values
An interesting observation
IN ignore null values as you can see in the table there are 310 null values in column TBL_DSM.
SQL> select count(*) from daz.utl_tablas_me
2 where tbl_dsm in
3 (select null from daz.utl_tablas_me);
COUNT(*)
0
SQL> select count(*) from daz.utl_tablas_me
2 where exists(select null from daz.utl_tablas_me);
COUNT(*)
310
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Fri Feb 20 2004 - 08:32:41 CST
-----------------------------------------------------------------
![]() |
![]() |