SCD Why need to check the changes in non key columns?
Posted: Mon May 23, 2011 10:37 pm
Hello All
Just a common question relates to SCD Type 2.
To find and implement (SCD type 2) we are using different stages like Change Capture, CDC, JOIN etc.
Question:
If the source provided a record (delta) means, there is some changes in the existing record. In that case why should not we close the existing record based on the SK and insert the new record irrespective of what ever the changes it may / may not have?
Why need to check the change values for the rest of the column?
Is there is any good reason to compare the non key columns (change values columns) to identify the changes and then do Insert / Update.
I need more clarity in this approach.
Thanks
DS User
Just a common question relates to SCD Type 2.
To find and implement (SCD type 2) we are using different stages like Change Capture, CDC, JOIN etc.
Question:
If the source provided a record (delta) means, there is some changes in the existing record. In that case why should not we close the existing record based on the SK and insert the new record irrespective of what ever the changes it may / may not have?
Why need to check the change values for the rest of the column?
Is there is any good reason to compare the non key columns (change values columns) to identify the changes and then do Insert / Update.
I need more clarity in this approach.
Thanks
DS User