python - Create copy of Oracle database table to another Oracle database using SQL -
i wondering if there simple way copy either entire oracle database table or data rows oracle database table (different databases). there type of way using sql language? initial thought use sql query this:
insert outputtable select * username/password@instance.inputtable
if not sql, there way this? trying automate task performing copy using sql developer or along lines not suffice unfortunately. trying using python.
you can create dblink connect source , target db, use sql save data in linked db.
something like:
create database link "target" connect your_schema identified your_password using your_connection_string;
once have dblink, can use plain sql, no matter involved tables on different db:
insert your_table@target select * your_table