1. Specify Source and Destination Object
Click the "Connections" button in the Data Transfer
Manager toolbar to display the source and destination objects.
Source definition
You
can either select a connection/catalog/schema/object or you can specify
your own SQL query to retrieve the source. Your SQL query does not
have any limitations. This means you can join tables before transfer,
order the result set, etc.
Destination definition
The destination is always a database object - either
an existing or a new one. If you want to transfer your query results
or table contents from your source object to an existing table uncheck
the "Automatically create Table" option.
Automatically create Table
If the "Automatically create Table" option is checked
the Data Transfer Manager creates a new table with the name specified
in the Destination Table field based on the field definition of your
source object.
You can use the Data Transfer Manager to copy tables
between database servers from different vendors. As every database
vendor supports several server specific data types in addition to the
standard SQL data types, not all tables can be copied. Data Transfer
Manager includes an intelligent mapping algorithm to find the best
matching data type on a destination database server that does not support
a specific data type in your source table or query.
Special note for Oracle users
Due to a limitation of the Oracle JDBC driver field
length for varchar fields are not reported. This means if your source
object is an Oracle table with varchar fields and you activate "Automatically
create Table" the Data Transfer Manager has to "guess" the field lengths
to create your destination table. Most likely you will get better results
if you create the destination table manually and use the Data Transfer
Manager to transfer data only. |