how to make insert or update when using OCI stage in intarge

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
vardhan354
Participant
Posts: 76
Joined: Wed Jan 25, 2006 6:42 pm

how to make insert or update when using OCI stage in intarge

Post by vardhan354 »

Hi ,

i am using userdefined SQL for the UPDATE ACTION, the function of the
userdefined sql is it inserts the data into the table, i am adding more columns to the existing job, i mean it is a new column as per the business requirement, here i need to use update action as insert (or) update.

give me an information what is the best way to follow.

if i change the sql insert or update then it will work.

Please give me idea.

Thanks in advance.
ETL
meena
Participant
Posts: 430
Joined: Tue Sep 13, 2005 12:17 pm

Post by meena »

Hi Vsi,

It depends on your specfications.If you want update the existing rows then you can use update or insert (as you have to insert new rows). Else use only insert option.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

If you are editing the exisitng column, you need to edit the existing user defiled code as well.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

"user defined", surely? :lol:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply