oracle stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

oracle stage

Post by laxmi_etl »

HI-

I have one question the problem is i have to load records from source to
target (actually i have to insert into the target) the database we are using is oracle. For this i am using oracle stage but here we have no insert option so what do we need to do can anybody help on this

Thanks
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

Edited to delete: Found it not relating to parallel
Last edited by narasimha on Wed Nov 22, 2006 1:33 pm, edited 1 time in total.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
Sanket_Saraph
Participant
Posts: 20
Joined: Tue Jun 13, 2006 5:16 am
Location: Pune

Post by Sanket_Saraph »

Hi Laxmi,

If your data is clean and ready to satisfy the constraints of target table then there is no issue :lol: ,
using 'Load' method to load data in faster way.

Now if you want to insert data by user defined insert query then use upsert method(user defined insert and update).
Put your insert query uder insert tab and in update query under update tab put where condition as 1=2 so it will not update any record.

Regards,
Sanket...
thebird
Participant
Posts: 254
Joined: Thu Jan 06, 2005 12:11 am
Location: India
Contact:

Post by thebird »

You can also do the same by using the Upsert Method and then putting the SQL Insert statement in the Update statement place holder - it will work...

Regards

The Bird.
Post Reply