我想创建两个 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
)