Page 1 of 1

Update Query using Oracle Enterprise Stage

Posted: Thu Sep 14, 2006 9:12 am
by Vijay Kumar
Hi,
Based on successful execution of a job I want to update an Oracle table.
So I want to execute an update query in a new job which will be executed after the First Job.
What is the best method to run the update query in a job(for all other jobs which reads data from Oracle I am using Oralce Enterprise stage)

Can I use the same Oracle Enterprise Stage to perform this task.
If yes, can any one explain how to do it?

Regards,
Vijay

Re: Update Query using Oracle Enterprise Stage

Posted: Thu Sep 14, 2006 9:50 am
by kool78
Vijay Kumar wrote:Hi,
Based on successful execution of a job I want to update an Oracle table.
So I want to execute an update query in a new job which will be executed after the First Job.
What is the best method to run the update query in a job(for all other jobs which reads data from Oracle I am using Oralce Enterprise stage)

Can I use the same Oracle Enterprise Stage to perform this task.
If yes, can any one explain how to do it?

Regards,
Vijay

One method would be :

Create a procedure that implemets ur update functionality

and call tht procedure in Target OCI Stage in CLOSE COMMAND Property, so the procedure will be executed after completing all the operations on tht table.

Posted: Thu Sep 14, 2006 2:55 pm
by ray.wurlod
Upsert mode, update first.