Beruflich Dokumente
Kultur Dokumente
Getting ready
For this recipe we will use the EMP table that is delivered in the SCOTT
schema with Oracle
binaries. In the target environment, the EMP table has an extra column called
AVG_SAL which
will be the average salary of an employee's department calculated using SQL
ran by SQLEXEC.
How to do it...
We will follow the following steps to demonstrate the use of the SQLEXEC command.
Run the following in the source environment:
1. Create an Extract process parameter file as follows:
EXTRACT EGGTEST1
USERID GGATE_ADMIN@DBORATEST, PASSWORD GGATE_ADMIN
EXTTRAIL /u01/app/ggate/dirdat/st
TABLE scott.EMP;