join 2 tables from 2 oracle databases

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jlcostinha
Posts: 5
Joined: Fri 04 May 2007 08:27

join 2 tables from 2 oracle databases

Post by jlcostinha » Fri 22 May 2009 14:34

i have 2 Oracle servers (one 11g and a 9i), in my application i have 2 orasession to each database and i can perform queries on each database alone using the correct session...

now, i need to perform a query that will join 2 tables one from each database, is it possible? how can i do it?

thanks.

Jorge

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Post by jfudickar » Sat 23 May 2009 08:49

The only way is to join the tables via database link on one of the databases and then use session which is connected to this database.

Kind regards
Jens

Post Reply