Dim_Date SSIS商业智能

时间:2013-07-18 12:25:56

标签: ssis business-intelligence

我想创建两个dim_Table表

dim-Temp_Start(id_Temp_Start,year,trimestre,month,week,day)
dim-Temp_End(id_Temp_End,year,trimestre,month,week,day)

如何从日历中加载这些表?

CREATE TABLE [dbo].[DIM_TEMP_FIN]( 
[ID_TEMP_FIN] [int] NOT NULL, 
[ANNEE] [int] NULL, 
[TRIMESTRE] [int] NULL, 
[MOIS] [int] NULL, 
[SEMAINE] [int] NULL, 
[JOUR] [int] NULL, 
CONSTRAINT [PK_DIM_TEMP_FIN] PRIMARY KEY 
) 

CREATE TABLE [dbo].[DIM_TEMP_DEBUT]( 
[ID_TEMP_DEB] [int] NOT NULL, 
[ANNEE] [int] NULL, 
[TRIMESTRE] [int] NULL, 
[MOIS] [int] NULL, 
[SEMAINE] [int] NULL, 
[JOUR] [int] NULL, 
CONSTRAINT [PK_DIM_TEMP_DEBUT] PRIMARY KEY
)

0 个答案:

没有答案