SCD2
-
Upload
amit-bhartiya -
Category
Documents
-
view
220 -
download
7
description
Transcript of SCD2
![Page 1: SCD2](https://reader036.fdocuments.us/reader036/viewer/2022082901/5695cf091a28ab9b028c4cc2/html5/thumbnails/1.jpg)
![Page 2: SCD2](https://reader036.fdocuments.us/reader036/viewer/2022082901/5695cf091a28ab9b028c4cc2/html5/thumbnails/2.jpg)
Step1: First import source and target to informatica from data base.Import the source definition
CUST
table using the
![Page 3: SCD2](https://reader036.fdocuments.us/reader036/viewer/2022082901/5695cf091a28ab9b028c4cc2/html5/thumbnails/3.jpg)
Source Analyzer
workspace. Go to
Sources > Importfrom Database
This opens the
Import Tables
window. Assuming that a system DSN is already created for thisconnection, specify all the necessary details and click
Connect
.Select the CUST table to import and click OKto continue
![Page 4: SCD2](https://reader036.fdocuments.us/reader036/viewer/2022082901/5695cf091a28ab9b028c4cc2/html5/thumbnails/4.jpg)
The source table
CUST
contains only current data and doesn't have any historical data. This mappingwould be run daily to capture the historical data in the
CUST_D
target table. The Active and InactiveDate logic would be used for SCD Type 2 mapping.Follow the same steps using target Designer to import CUST_D table.
![Page 5: SCD2](https://reader036.fdocuments.us/reader036/viewer/2022082901/5695cf091a28ab9b028c4cc2/html5/thumbnails/5.jpg)
![Page 6: SCD2](https://reader036.fdocuments.us/reader036/viewer/2022082901/5695cf091a28ab9b028c4cc2/html5/thumbnails/6.jpg)