Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Creating a SCD Type 2 Mapping Using the a Power Center Mapping Wizard

Creating a SCD Type 2 Mapping Using the a Power Center Mapping Wizard

Ratings: (0)|Views: 70|Likes:
Published by nelrick1984
This document illustrates the steps involved in creating a SCD Type 2 mapping using the Mapping Wizard in Informatica PowerCenter 8.6 Designer client.
This document illustrates the steps involved in creating a SCD Type 2 mapping using the Mapping Wizard in Informatica PowerCenter 8.6 Designer client.

More info:

Published by: nelrick1984 on Jan 25, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/25/2011

pdf

text

original

 
Nelrick Rodrigues
Creating a SCD Type 2 mapping using the Informatica PowerCenter Mapping Wizard
The Mapping Wizard available in the Informatica PowerCenter Designer client provides pre-designed mappingtemplates to create mappings based on specific requirements like SCD Types 1, 2 & 3.The illustration below explains the creation of an SCD Type 2 mapping using the Mapping Wizard. The source tableis
EMPLOYEES
that contains employee information like Employee ID, Name, Role, Department ID, Location,Employment Status and the Date of joining.The
EMPLOYEES
table is shown below.
EMPLOYEESEMP_ID EMP_NAME EMP_ROLE DEPT_ID LOCATION EMPL_STATUS JOIN_DT
1321 Shaun Mathews Clerk 209 Atlanta Active 13-Apr-081487 Shane Smith Supervisor 110 Atlanta Active 4-Aug-081678 Katie Wells Manager 198 Atlanta Active 20-Aug-08
The field
EMP_ID
is the primary key for the
EMPLOYEES
table. The fields on which history needs to be maintainedare
EMP_ROLE
,
DEPT_ID
,
LOCATION
and
EMPL_STATUS
.Import the source definition
EMPLOYEES
using the
Source Analyzer
workspace. Go to
Sources > Import fromDatabase
.
 
Nelrick Rodrigues
This opens the
Import Tables
window. Assuming that a system DSN is already created for this connection, specifyall the necessary details and click
Connect
.Select the
EMPLOYEES
table to import and click
OK
to continue.The
EMPLOYEES
source definition is created and appears in the workspace. Click
Save
to save the source definitionin the repository.
 
Nelrick Rodrigues
The source table
EMPLOYEES
contains only current data and doesn't have any historical data. This mapping wouldbe run daily to capture the historical data in the
EMPLOYEES_SCD2
target table. The Effective Date logic would beused for SCD Type 2 mapping.Click on the
Mapping Designer
tab.Go to
Mappings > Wizards > Slowly Changing Dimensions
.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->