Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

sql query to read from different oracle databases

149162Nov 18 2004 — edited Nov 22 2004
i need to capture certain fields from certain tables in database 1 and certain fields from certain tables in database 2 into one file using a single SQL statement.

i tried searching on the net
where i found that dblinks can help
but iam not sure if ill be able to create dblinks in my situation which is:

i need to get data from oracle to be copied to mysql
this is not a replication acitivity, but i need certain fields from one database and certain from the other

so what iwas thinking is, if i use an sql query to get all the fields i need (around 40) from the different oracle databases and create a singlefile with one insert per select, i can then read that file into mysql
instead of creating multiple sql queries for each table and creating separate files and eventually separate tables in mysql.

can anyone help me here?
or maybe suggest another approach.

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2004
Added on Nov 18 2004
3 comments
656 views