what's the difference between the following two options?

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
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

what's the difference between the following two options?

Post by zulfi123786 »

I have seen that in an odbc stage there are two update actions
1) clear table then insert rows
2)Replace existing rows completely

can anyone tell me whats the difference b/w the two?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Select each one and then examine the generated sql, the difference should be easy to spot. And 'clear' here means a 'transactional delete' of all rows in the table, as opposed to a truncate which is not transactional.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply