SQL Datawarehousing, need help populating my DIMENSION using TSQL SELECT or a better alternative?
问题 I have a table in my SQL Server where I "stage" my datawarehouse extract from our ERP system. From this staging table ( table name: DBO.DWUSD_LIVE ) , I build my dimensions and load my fact data. An example DIMENSION table is called "SHIPTO", this dimensions has the following columns: "shipto_id "shipto" "salpha" "ssalpha" "shipto address" "shipto name" "shipto city" Right now I have an SSIS package that does a SELECT DISTINCT across the above columns to retrieve the "unique" data, then