To implement SCD2 by maintaining a flag, follow these steps:
- In the Designer, go to Tools | Mapping Designer | Mapping | Wizard | Slowly Changing Dimensions as shown in the following screenshot:
- A new window will pop up asking the name (m_SCD2_DATE_RANGE) of the new SCD mapping. Select Type 2 Dimension - keep a full history of the changesas we are implementing SCD2, and click on Next:
- The next screen will ask you to select the source. Select a source from the drop-down. We are using EMP_FILE.txt as ...