SDM_DATA_COLLECTION_PERIOD

This table stores details of data collection periods.

Details

Object type: TABLE

Primary Key

Table 4-17 Primary Key Table

Constraint Name Columns
SDM_DCP_PK DCP_ID

Foreign Key

Table 4-18 Foreign Key Table

Table Foreign Table Foreign Key Column
SDM_DATA_COLLECTION_PERIOD SDM_SCENARIO SCENARIO_ID
SDM_DATA_COLLECTION_PERIOD SDM_PERIOD PERIOD_ID
SDM_DATA_COLLECTION_PERIOD SDM_YEAR YEAR_ID
SDM_DATA_COLLECTION_PERIOD SDM_DC_INTERVAL DCI_ID

Columns

Table 4-19 Column Details Table

Name Data Type Length Precision Scale Null Allowed Comments
DCP_ID NUMBER   18 0 No Unique identifier of the record.
DCI_ID NUMBER   18 0 No Interval, to which, this record belongs. Refers to DCI_ID of SDM_DC_INTERVAL table.
YEAR_ID NUMBER   18 0 No Year of this data collection period. Refers to YEAR_ID of SDM_YEAR table.
PERIOD_ID NUMBER   18 0 No Period of this data collection period. Refers to PERIOD_ID of SDM_PERIOD table.
STATUS VARCHAR2 40     No Status of the data collection period. e.g. Pending, Open, Closed, Locked.
SCENARIO_ID NUMBER   18 0 Yes Scenario of this data collection period. Refers to DYNAMIC_DATA_ID of SDM_SCENARIO table.
DCP_CUSTOM1 NUMBER   18 0 Yes Custom dimension of this data collection period. Refers to primary key of one of the dimensions table.
DCP_CUSTOM2 NUMBER   18 0 Yes Custom dimension of this data collection period. Refers to primary key of one of the dimensions table.
START_DATE DATE       Yes Start date of this data collection period.
END_DATE DATE       Yes End date of this data collection period.
CLOSE_DATE DATE       Yes Close date of this data collection period.
COMPOSITE_INSTANCE_ID VARCHAR2 20     Yes Indicates SOA scheduler composite instance id.
APP_ID NUMBER   1 0 No Identifier for the application to which the row corresponds to, for example, SDM:4.
OBJECT_VERSION_NUMBER NUMBER   9 0 No Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
LAST_UPDATE_LOGIN VARCHAR2 255     Yes Who column: indicates the session login associated to the user who last updated the row.
LAST_UPDATED_BY VARCHAR2 255     No Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE DATE       No Who column: indicates the date and time of the last update of the row.
CREATED_BY VARCHAR2 255     No Who column: indicates the user who created the row.
CREATION_DATE DATE       No Who column: indicates the date and time of the creation of the row.

Indexes

Table 4-20 Index Table

Index Uniqueness Columns
SDM_DCP_PK UNIQUE DCP_ID
SDM_DCP_U1_YPSCUSTOM UNIQUE DCI_ID, YEAR_ID, PERIOD_ID, SCENARIO_ID, DCP_CUSTOM1, DCP_CUSTOM2