
278 Moving Data Across the DB2 Family
CONNECT TO distdb USER markomp USING aabbcc
LOAD FROM mypipe OF ixf MESSAGES load.msg REPLACE INTO MARKOMP.EMP
CONNECT RESET
11.4 SQL insert containing a SELECT clause
This method of data movement is applicable to any source server type that Federated
Databases support.
Outline
1. If the source does not exist in the same database as the target, use Federated Database
support to create a nickname for the source (see Appendix A, “Defining a Federated
Database” on page 299 for more details.)
2. It is recommended that the target table be created with the NOT LOGGED INITIALLY
property specified, and that the ALTER T ...