OCI 8 stage

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
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

OCI 8 stage

Post by kollurianu »

Hi all,

In OCI stage can i write a user defined query for update , and

update few feilds in the table , and also update key and table primary

key is different , but the update key would be unique.

any inputs most appreciated.

Thank you all very much.
Bala R
Participant
Posts: 66
Joined: Mon May 30, 2005 9:52 pm

Post by Bala R »

Certainly can do. But verify whether the integrity of the underlying table is not broken when you update the key field itself.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Any usage of that primary key as a foreign key needs to be handled. If you have a parent-child relationship with tables, you shouldn't have orphans after you change the primary key value.

Are you sure this is what you need to do?
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply