DataStages_Real_Time _Scenarios_ with Screen Shots_and _Solution

Thursday, May 29, 2014

Loading a Fact Table Using Dimension Table





You can create a job that uses the Lookup transformation, which loads fact data from a source table and uses a lookup process to load foreign keys from the dimension table.

The lookup process compares the business key in each source row to the business keys in the dimension table. When the business keys match, the foreign key from the dimension table is loaded into the fact table target.

This sample job assumes that you have already loaded data into your dimension table before you run the job that loads your fact table. Loading the dimension table first ensures that new foreign keys are available in the dimension table.

No comments:

Post a Comment