Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: IN ignore null values
Actually, all this proves is that you have 310 rows in the table
utl_tablas_me.
Jared
"Juan Cachito Reyes Pacheco" <jreyes_at_dazasoftware.com>
Sent by: oracle-l-bounce_at_freelists.org
02/20/2004 06:32 AM
Please respond to oracle-l
To: "antonio" <aore_at_dazasoftware.com>, "carlos" <cmonroy_at_dazasoftware.com>,
"daniel" <dvenegas_at_dazasoftware.com>, "danita" <dpuna_at_dazasoftware.com>,
"ivan" <ilujan_at_dazasoftware.com>, "jaime" <jdaza_at_dazasoftware.com>,
"javier" <jsalazar_at_dazasoftware.com>, "juan" <jdsanchez_at_dazasoftware.com>,
"luis" <lchalco_at_dazasoftware.com>, <oracle-l_at_freelists.org>, "richi"
<rpacheco_at_dazasoftware.com>
cc: Subject: 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.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri Feb 20 2004 - 11:48:18 CST
![]() |
![]() |