Professional Documents
Culture Documents
SCD2
SCD2
values.
When the value of an attribute/ field changes, the current record is closed, and a
new record is created with the changed data value
which becomes the current record.
###Expression Transformation
EXP:
CUST_ID
CUST_NAME
CUST_ADDR
CUST_CONTACT
SRC_DELTA_CHK_SUM_NBR MD5(CUST_NAME|| CUST_ADDR || CUST_CONTACT)
Seq_Generator
NEXTVAL
CURRVAL
TGT_Surrogate_key
If there is any change in any of the column then we need to do two tasks
Task 1:Insert this as New record
Task2:Update previous existing active record end date with the sysdate
4. In Router we need create two groups one for Newly insert records and second one
for insert
and Update(Previous record effective end date with sysdate)
5. Lookup override write a query to fetch only active records into Cache
MD5 Function: Unique 32-character string of hexadecimal digits 0-9 and a-f.