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 -> Re: connecting to two different instances from a ORA PL/SQL procedure

Re: connecting to two different instances from a ORA PL/SQL procedure

From: Alkos <azerty_at_nospam.org>
Date: Mon, 1 Dec 2003 11:36:32 +0100
Message-ID: <bqf5jh$p935@news.rd.francetelecom.fr>

"Jon" <aaa_at_bbb.ccc> a écrit dans le message news: bqf3un$31a$1_at_unbe.sarenet.es...
> From a PL/SQL block, I need to connect to two different ORA instances in
> order
> to compare data contained in two tables, one in each of the instances ...
> ¿is
> is possible?
>
>

Hello,
At first glance if you need to connect to some different instances, perhaps you should consider using DBlinks.
If your goal is to compare two tables, send the output of a select * from my_table order by my_key to a file
for each table and, then, use a compare utility (like UNIX diff). It's a little bit DIY but it works as a one-shot solution.

Cheers,
Alkos Received on Mon Dec 01 2003 - 04:36:32 CST

Original text of this message

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