Loading Fact Table + Lookup / UnionAll for SK lookups.
- by Nev_Rahd
I got to populate FactTable with 12 lookups to dimension table to get SK's, of which 6 are to different Dim Tables and rest 6 are lookup to same DimTable (type II) doing lookup to same natural key.
Ex:
PrimeObjectID = lookup to DimObject.ObjectID = get ObjectSK
and got other columns which does same
OtherObjectID1 = lookup to DimObject.ObjectID = get ObjectSK
OtherObjectID2 = lookup to DimObject.ObjectID = get ObjectSK
OtherObjectID3 = lookup to DimObject.ObjectID = get ObjectSK
OtherObjectID4 = lookup to DimObject.ObjectID = get ObjectSK
OtherObjectID5 = lookup to DimObject.ObjectID = get ObjectSK
for such multiple lookup how should go in my SSIS package.
for now am using lookup / unionall foreach lookup. Is there a better way to this.