Update existing columns

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
kool_cons
Participant
Posts: 68
Joined: Thu Jul 07, 2005 3:41 pm

Update existing columns

Post by kool_cons »

Hello
Last edited by kool_cons on Thu Jan 05, 2006 3:01 pm, edited 1 time in total.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It always helps to mention the database involved as that can change the answer given.

That being said, what is your doubt? Based on what you have written it sounds very straight-forward. Select the keys and data from Table A and send them straight to Table B with the action set to 'Update existing rows only'. You may not even need to do a lookup first - Oracle won't complain if an update doesn't actually update any records while another database might. If you need to (or feel like it) hash up the existing keys first.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kool_cons
Participant
Posts: 68
Joined: Thu Jul 07, 2005 3:41 pm

Post by kool_cons »

I will follow your way. i will let you know if any error happen.
Thanks chulette,
Post Reply