从其他表SSIS填充Fact_Table

时间:2013-07-18 18:59:45

标签: sql-server ssis business-intelligence

我是SSIS的新手,我需要你的帮助。我有以下表格:

Fact_Table(date_debut_alarm,date_fin_alarm,,BTS,id_temp_deb,id_temp_fin,numOfweek,T,a,pond,t_pond)

dim_BTS(BTS,BSC,statut,date_BTS,class,Id_Ville)

dim_Calendar_deb(id-temp_deb,date_deb,year,month,trimestre,week)

dim_Calendar_fin(id-temp_fin,date_fin,year,month,trimestre,week)

和临时表:

[alarmstg]([Alarm Description] ,date_deb_alarm ,date_fin_alarm,[Server] ,[BSC] ,[BTS_ID] ,[BSC_BTS] ,[BTS] )

我想通过使用这些表来填充fact_table。我怎么能这样做?

2 个答案:

答案 0 :(得分:0)

听起来您可以从SSIS基础知识的一些培训中受益。

Plurlsight视频非常好。如果您有培训预算,我会寻找Pragmatic Works提供的SSIS培训。

我不知道具体细节,我会为你需要加载的每个表创建一个单独的Data Flow

祝你好运。

答案 1 :(得分:0)

将fact_table作为目标使用(选择idDateStart,来自dbo.dim_date_deb的weekofEmployees)作为source.date_debut_alarm = target.date_deb上的源匹配,然后更新set target.idDate_tem_deb = source.id_temp_deb;

相关问题