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

Home -> Community -> Mailing Lists -> Oracle-L -> Anybody have an idea why this is happening?

Anybody have an idea why this is happening?

From: <tday6_at_csc.com>
Date: Wed, 13 Mar 2002 13:04:44 -0800
Message-ID: <F001.00428009.20020313130444@fatcity.com>

I need to compare "identical" databases across two instances. I've set up a MID instance to do the heavy lifting and not impact our production. But this particular form of querying via link A with a sub-query via link B kills the session.

middleman_at_mid> SELECT ADR_DTF_ID FROM ADDRESSES_at_IHP WHERE ADR_DTF_ID IN   2 (SELECT DTF_ID FROM ADDRESSES_at_EID1, DETENTION_FACILITIES_at_EID1   3 WHERE DTF_ID = ADR_DTF_ID (+)
  4 AND ADR_DTF_ID IS NULL)
  5 /
SELECT ADR_DTF_ID FROM ADDRESSES_at_IHP WHERE ADR_DTF_ID IN *
ERROR at line 1:
ORA-03113: end-of-file on communication channel

On the other hand

middleman_at_mid> SELECT ADR_DTF_ID
  2 FROM ADDRESSES_at_IHP
  3 WHERE ADR_DTF_ID NOT IN (SELECT ADR_DTF_ID FROM ADDRESSES_at_EID1) ; no rows selected

works just fine.

I can work around it but curiosity is driving me to distraction.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: tday6_at_csc.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Mar 13 2002 - 15:04:44 CST

Original text of this message

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