Here's the scenario:
I have a MySQL database and an Oracle database, and I want to do this to copy data from MySQL to Oracle on a planned basis.
The process involves simply inserting data into a table on the Oracle side, taken from a MySQL database.
Something like this: (oracle command)
insert into my_oracle_table
select * from my_mysql_table@my_mysql_db
where date > sysdate - 7;
What is the best practice for this? Is there any way to connect to say MySQL DB directly from an Oracle stored procedure? Maybe the other way around?
Oracle 11g and MySql 5.1
source
share