Trauncate Load with sequnce no in OES

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
dspradeep
Participant
Posts: 59
Joined: Fri Aug 21, 2009 12:58 am

Trauncate Load with sequnce no in OES

Post by dspradeep »

My table have sequnce no and while loading I need to increment this sequnce no for every record. Here I have to do truncate load so in OE stage, when I select Load option then i am not able to give sequnce.nextval for sequnce increment. Please help me ........
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

use a surrogate key generator stage and call your dbsequence from there to generate the surrogate key.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Post Reply