cancel
Showing results for 
Search instead for 
Did you mean: 

Need M_TIME_DIMENSION_WEEK table definition

Former Member
0 Kudos

Hi, can someone provide me the definition of the table M_TIME_DIMENSION_WEEK from _SYS_BI schema. I have lost this table in my practice system and need to re create it

Accepted Solutions (0)

Answers (1)

Answers (1)

pfefferf
Active Contributor
0 Kudos

Hello Hari,

here is the create table statement for the table.


CREATE COLUMN TABLE "_SYS_BI"."M_TIME_DIMENSION_WEEK" (

"YEAR" VARCHAR(4),

"HALFYEAR" VARCHAR(2),

"QUARTER" VARCHAR(2),

"MONTH" VARCHAR(2),

"WEEK" VARCHAR(2),

"YEAR_INT" INTEGER CS_INT,

"HALFYEAR_INT" TINYINT CS_INT,

"QUARTER_INT" TINYINT CS_INT,

"MONTH_INT" TINYINT CS_INT,

"WEEK_INT" TINYINT CS_INT,

PRIMARY KEY INVERTED VALUE ("YEAR", "WEEK")

) UNLOAD PRIORITY 0  AUTO MERGE

Regards,

Florian

Former Member
0 Kudos

thank you Florian