Query on SCD Stage

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
balu536
Premium Member
Premium Member
Posts: 103
Joined: Tue Dec 02, 2008 5:01 am

Query on SCD Stage

Post by balu536 »

Hi,
I'm using SCD stage for Type 1 Dimension.
As part of daily load, we have inserts and updates to the Target Table.

Please help on how to identify the inserts and updates from the Output of SCD stage. For Type2 dimensions, we can identify based on Change Indicator but for Type 1, i'm unable to find option from SCD stage.
ssnegi
Participant
Posts: 138
Joined: Thu Nov 15, 2007 4:17 am
Location: Sydney, Australia

Reply

Post by ssnegi »

Create a Current Indicator column in the Dim Update tab -- Derivation-'I' Expire-'U'. All the rows with current indicator column = 'U' would be update records and 'I' would be new records.
Post Reply