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

Home -> Community -> Usenet -> c.d.o.server -> No error from subselect with invalid column name

No error from subselect with invalid column name

From: <mcdonnem_at_my-dejanews.com>
Date: Wed, 19 May 1999 12:19:11 GMT
Message-ID: <7hua7u$tif$1@nnrp1.deja.com>


I have been able to reproduce this under 7.3.2.3, 7.3.3.4, 7.3.4.2 and 8.0.5 (32 Bit running under HP-UX 11). Has anyone ever done this or seen this or can explain this.

create table tab1 (col1 number);
create table tab2 (col2 number);
select col1 from tab1 where col1 in (select col1 from tab2);

The result will be no rows returned. I would have expected a 904 error indicating invalid column name since col1 does not exist in tab2.

--== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.--- Received on Wed May 19 1999 - 07:19:11 CDT

Original text of this message

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