Professional Documents
Culture Documents
Noja
Noja
Noja
We will see how to create sql transformation in script mode with an example. We
will create the following sales table in oracle database and insert records into
the table using the SQL transformation.
Script Name: $PMSourceFileDir/sales_ddl.txt
Create Table Sales (
Sale_id Number,
Product_name varchar2(30),
Price Number
);
Script Name: $PMSourceFileDir/sales_dml.txt
Insert into sales values(1,'Samsung',2000);
Insert into sales values(2,'LG',1000);
Insert into sales values(3,'Nokia',5000