Skip to main content
Schema: crosschain.core Table: dim_dates Type: Base Table

What

Hold rows for each date from 2017 - 2030

Columns

Column NameData TypeDescription
DATE_DAYDATEdate for the row
PRIOR_DATE_DAYDATEdate before DATE_DAY
NEXT_DATE_DAYDATEdate after DATE_DAY
PRIOR_YEAR_DATE_DAYDATEdate exactly 1 year before DATE_DAY
PRIOR_YEAR_OVER_YEAR_DATE_DAYDATEdate exactly 1 year after DATE_DAY
DAY_OF_WEEKNUMBERnumber representing day of week for DATE_DAY where 1=Sunday
DAY_OF_WEEK_ISONUMBERnumber representing day of week for DATE_DAY where 1=Monday
DAY_OF_WEEK_NAMETEXTday of week name for DATE_DAY
DAY_OF_WEEK_NAME_SHORTTEXTday of week abbreviation for DATE_DAY
DAY_OF_MONTHNUMBERday of month for DATE_DAY
DAY_OF_YEARNUMBERday of year for DATE_DAY
WEEK_START_DATEDATEdate representing the start of the week for DATE_DAY
WEEK_END_DATEDATEdate representing the end of the week for DATE_DAY
PRIOR_YEAR_WEEK_START_DATEDATEdate representing the start of the week for PRIORYEARDATE_DAY
PRIOR_YEAR_WEEK_END_DATEDATEdate representing the end of the week for PRIORYEARDATE_DAY
WEEK_OF_YEARNUMBERnumber representing the week of the year for DATE_DAY
ISO_WEEK_START_DATEDATEISO date representing the start of the week for DATE_DAY
ISO_WEEK_END_DATEDATEISO date representing the end of the week for DATE_DAY
PRIOR_YEAR_ISO_WEEK_START_DATEDATEISO date representing the start of the week for PRIORYEARDATE_DAY
PRIOR_YEAR_ISO_WEEK_END_DATEDATEISO date representing the end of the week for PRIORYEARDATE_DAY
ISO_WEEK_OF_YEARNUMBERnumber representing the ISO week of the year for DATE_DAY
PRIOR_YEAR_WEEK_OF_YEARNUMBERnumber representing the week of the year for PRIORYEARDATE_DAY
PRIOR_YEAR_ISO_WEEK_OF_YEARNUMBERnumber representing the ISO week of the year for PRIORYEARDATE_DAY
MONTH_OF_YEARNUMBERnumber representing the month of the year for DATE_DAY
MONTH_NAMETEXTmonth of year name for DATE_DAY
MONTH_NAME_SHORTTEXTmonth of year abbreviation for DATE_DAY
MONTH_START_DATEDATEfirst date of month for DATE_DAY
MONTH_END_DATEDATElast date of month for DATE_DAY
PRIOR_YEAR_MONTH_START_DATEDATEfirst date of month for PRIORYEARDATE_DAY
PRIOR_YEAR_MONTH_END_DATEDATElast date of month for PRIORYEARDATE_DAY
QUARTER_OF_YEARNUMBERnumber representing quarter for DATE_DAY
QUARTER_START_DATEDATEfirst date of quarter for DATE_DAY
QUARTER_END_DATEDATElast date of quarter for DATE_DAY
YEAR_NUMBERNUMBERnumber presenting the year for DATE_DAY
YEAR_START_DATEDATEfirst date of year for DATE_DAY
YEAR_END_DATEDATElast date of year for DATE_DAY