SCD-2 Implementation To Insert Update and Logically Delete Rows
SCD-2 Implementation To Insert Update and Logically Delete Rows
Joiner condition:
Add Insert, Update, Delete ports with below mentioned logic and add two more
ports D_Flag with hardcoded value D and D_EndDate with value sysdate for
deletion logic
Update port logic: We are considering that update target records when salary will
change.
Means consider only salary as slowly changing dimension. But if you want then you
can consider other ports as well.
Filter condition
Insert
Delete
Update
For FLT_DEL
Now, you will see that mapping is not performing as per requirement, So here is the
final solution to fix your issues:
Put below mentioned logic in Source qualifier of target table