CX Output tables

DW_SF_MONTH_D

This table contains month-level information about the gregorian calendar.

Details

Module:

Key Columns

CAL_MONTH_ID

Columns

NameDatatypeLengthPrecisionNot NullCommentsReferred TableReferred Column
CAL_MONTH_IDNUMBER380TrueMonth identifier in YYYYQMM format. For example, 1979412.
SOURCE_RECORD_IDNUMBER380This column is for Oracle Internal use only. Integration identifier generated by formatting the date in YYYYMMDD format.
CAL_QUARTER_IDNUMBER380Quarter identifier in YYYYQ format. For example, 19794.
CAL_YEAR_IDNUMBER380Year identifier in YYYY format. For example, 1979.
CAL_MONTH_CODEVARCHAR232Calendar month period. For example, 1979/12.
CAL_QUARTER_CODEVARCHAR232Calendar quarter period. For example, Q4 in 1979 Q4.
CAL_YEAR_CODEVARCHAR216Calendar year period. For example, 1979
CAL_MONTH_START_DATEDATEStart date of the month.
CAL_MONTH_END_DATEDATEEnd date of the month.
CAL_QUARTER_START_DATEDATEStart date of the quarter.
CAL_QUARTER_END_DATEDATEEnd date of the quarter.
CAL_YEAR_START_DATEDATEStart date of the year.
CAL_YEAR_END_DATEDATEEnd date of the year.
CAL_MONTH_NUMBERNUMBER380Calendar month of this day. Possible values are 1 through 12.
CAL_MONTH_LOCALE_NAMEVARCHAR232Calendar month name of this day. Possible values are January, February
CAL_HALF_NUMBERNUMBER380Calendar half-year of this day. Possible values are 1 and 2.
CAL_QUARTER_NUMBERNUMBER380Calendar quarter of this day. Possible values are 1, 2, 3, and 4.
CAL_TRIMESTER_NUMBERNUMBER380Calendar trimester of this day. Possible values are 1, 2 and 3.
CAL_MONTH_END_DATE_IDNUMBER380Last day of month in YYYYMMDD format.
CAL_MONTH_START_DATE_IDNUMBER380First day of month in YYYYMMDD format.
CAL_QUARTER_START_DATE_IDNUMBER380First day of quarter in YYYYMMDD format.
CAL_QUARTER_END_DATE_IDNUMBER380Last day of quarter in YYYYMMDD format.
CAL_YEAR_END_DATE_IDNUMBER380Last day of year in YYYYMMDD format.
CAL_YEAR_START_DATE_IDNUMBER380First day of year in YYYYMMDD format.
FIRST_MONTH_CAL_QTR_FLAGVARCHAR216Indicates that this month is the first month of calendar quarter.
LAST_MONTH_CAL_QTR_FLAGVARCHAR216Indicates that this month is the last month of calendar quarter.
FIRST_MONTH_CAL_YEAR_FLAGVARCHAR216Indicates that this month is the first month of calendar year.
LAST_MONTH_CAL_YEAR_FLAGVARCHAR216Indicates that this month is the last month of calendar year.
CURRENT_CAL_MONTH_CODEVARCHAR216Indicates that this day belongs to current month. Possible value is Current.
CURRENT_CAL_QTR_CODEVARCHAR216Indicates that this day belongs to current quarter. Possible value is Current.
CURRENT_CAL_YEAR_CODEVARCHAR216Indicates that this day belongs to current year. Possible value is Current.
MONTH_END_OR_PRV_CRNT_DATEDATEFor current month, day before current date else Month end date
TRAILING_MONTH_NUMBERNUMBER380Indicate trailing month number
TRAILING_QUARTER_NUMBERNUMBER380Indicate trailing quarter number
TRAILING_YEAR_NUMBERNUMBER380Indicate trailing year number
MONTH_END_OR_PRV_CRNT_DATE_ALTDATEFor current month, if current month start then month end date else day before current date else Month end date

Copyright © 2019, 2026, Oracle and/or its affiliates.