Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: IN ignore null values

Re: IN ignore null values

From: Juan Cachito Reyes Pacheco <jreyes_at_dazasoftware.com>
Date: Fri, 20 Feb 2004 14:48:20 -0400
Message-ID: <000901c3f7e2$1d96fd90$2501a8c0@dazasoftware.com>

  1. I don't have only 310 rows, why don't you test.
  2. here is an example of the effect of using IN() in a query, as consequence of the inequality NULL=NULL

I don't understand what is not clear here, you can test it by yourself. :)

Actually, all this proves is that you have 310 rows in the table utl_tablas_me.
Jared

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



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


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


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 - 15:06:06 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US