SDM_DATA_SET_COLUMN
This table stores all attributes of each data set.
Details
Object type: TABLE
Primary Key
Table 4-33 Primary Key Table
Constraint Name | Columns |
---|---|
SDM_DS_CLMN_PK | DATA_SET_COLUMN_ID |
Foreign Key
Table 4-34 Foreign Key Table
Table | Foreign Table | Foreign Key Column |
---|---|---|
SDM_DATA_SET_COLUMN | SDM_DATA_SET_COLUMN | MASTER_ID |
SDM_DATA_SET_COLUMN | SDM_DIMENSION | DIMENSION_ID |
SDM_DATA_SET_COLUMN | SDM_DIMENSION_ATTRIBUTE | DIMENSION_ATTRIBUTE_ID |
SDM_DATA_SET_COLUMN | SDM_CURRENCY | CURRENCY_ID |
SDM_DATA_SET_COLUMN | SDM_DATA_SET | DATA_SET_ID |
Columns
Table 4-35 Column Details Table
Name | Data Type | Length | Precision | Scale | Null Allowed | Comments |
---|---|---|---|---|---|---|
DATA_SET_COLUMN_ID | NUMBER | 18 | 0 | No | Unique identifier of the record. | |
DATA_SET_ID | NUMBER | 18 | 0 | No | Data Set, to which, this attribute belongs. Refers to DATA_SET_ID of SDM_DATA_SET table. | |
NAME | VARCHAR2 | 80 | No | Name of the attribute. | ||
DATA_TYPE | VARCHAR2 | 20 | No | Data Type of the attribute. e.g. Date, Date/Time, List, Integer, Number, Text, Boolean. | ||
COLUMN_TYPE | VARCHAR2 | 25 | No | Type of the attribute, for example, Input, Calculated, Reference. | ||
COLUMN_TYPE_INTERNAL | VARCHAR2 | 30 | No | Internal Type of the attribute, for example, Year, Period, Scenario, Entity, DimensionReference, UserDefined. | ||
TEXT_LINES | NUMBER | 2 | 0 | Yes | Number of lines for Multi-Line Text attribute. | |
IS_REQUIRED | CHAR | 1 | No | Indicates whether this attribute is mandatory during data entry or not. Value is Y or N. | ||
IS_KEY | CHAR | 1 | No | Indicates whether this attribute is a key or not. Value is Y or N. | ||
IS_DCU | CHAR | 1 | No | Indicates whether this attribute participates in Data Collection Unit or not. Value is Y or N. | ||
IS_ASSIGN_WORKFLOW | CHAR | 1 | No | Indicates whether this attribute participates in workflow assignment or not. Value is Y or N. | ||
IS_DEFAULT | CHAR | 1 | No | Indicates whether this attribute is coming, by default, from dimension or not. Value is Y or N. | ||
IS_TRANSLATABLE | CHAR | 1 | No | Indicates whether name should be translated for display or not. | ||
USE_DEFAULT_VALUE | CHAR | 1 | No | Indicates whether default value should be used or not. Default value is stored in DEFAULT_VALUE column. Value is Y or N. | ||
COLUMN_ORDER | NUMBER | 4 | 0 | No | Indicates the order, in which, attributes should be displayed. | |
INTERNAL_ID | VARCHAR2 | 100 | No | Internal id for the object. Used primarily in LCM. | ||
INTERVAL_DIM_TYPE | VARCHAR2 | 15 | Yes | Internal Dimension Type of the attribute, for example, DCIFrequency, DCIWorkflow | ||
DESCRIPTION | VARCHAR2 | 1000 | Yes | Description of the attribute. | ||
DEFAULT_VALUE | VARCHAR2 | 2000 | Yes | If USE_DEFAULT_VALUE is Y and DATA_TYPE is Text, YesNo, TrueFalse or List then corresponding default value is stored here. | ||
DEFAULT_VALUE_NUM | NUMBER | 29 | 12 | Yes | If USE_DEFAULT_VALUE is Y and DATA_TYPE is Integer or Number then corresponding default value is stored here. | |
DEFAULT_VALUE_DATE | DATE | Yes | If USE_DEFAULT_VALUE is Y and DATA_TYPE is Date or DateTime then corresponding default value is stored here. | |||
TOTALING_METHOD | VARCHAR2 | 40 | Yes | Indicates totaling method for Integer and Number type of attributes, for example, Sum, Average, Count, None. | ||
DECIMAL_PLACES | NUMBER | 2 | 0 | Yes | Indicates number of decimal places when data type of the attribute is Number. | |
USE_THOUSAND_SEPARATOR | CHAR | 1 | Yes | Indicates whether thousand separator should be used to display a number or not. Value is Y or N. | ||
IS_PERCENTAGE | CHAR | 1 | Yes | Indicates whether it should be displayed as percentage or not. Value is Y or N. | ||
USE_ENTITY_CURRENCY | CHAR | 1 | Yes | Indicates whether to use the Currency, which is associated with the entity or not. | ||
CURRENCY_ID | NUMBER | 18 | 0 | Yes | For Number type of attribute, indicates the currency. Refers to CURRENCY_ID of SDM_CURRENCY table. | |
NEGATIVE_NUMBER_FORMAT | VARCHAR2 | 10 | Yes | Indicates format of negative number display, for example, -123 or (123) | ||
NUMBER_SCALE | VARCHAR2 | 15 | Yes | For Number type of attribute, indicates the scale to be applied, for example, 1000, 10000 etc. | ||
DIMENSION_ATTRIBUTE_ID | NUMBER | 18 | 0 | Yes | When attribute comes from dimension, it refers to corresponding dimension attribute id. Refers to DIMENSION_ATTRIBUTE_ID of SDM_DIMENSION_ATTRIBUTE table. | |
DIMENSION_ID | NUMBER | 18 | 0 | Yes | When attribute comes from dimension, it refers to corresponding dimension id. Refers to DIMENSION_ID of SDM_DIMENSION table. | |
REF_DIM_IS_KEY | CHAR | 1 | Yes | When attribute comes from dimension, it indicates whether this dimension attribute is also a key attribute in the referenced dimension or not. Value is Y or N. | ||
FILTER_ID | NUMBER | 18 | 0 | Yes | Refers to the Id of all validations of this attribute. | |
CALCULATION_ID | NUMBER | 18 | 0 | Yes | Refers to the Id of all calculations of this attribute. | |
DB_COLUMN_NAME | VARCHAR2 | 100 | Yes | For each data set, one table is created dynamically to store the data. This field indicates the database column name, where, value of this attribute is stored. | ||
MASTER_ID | NUMBER | 18 | 0 | Yes | During deploy, copy record is created. This field is populated in copy record to point to the master record. Refers to primary key of this same table. | |
DCP_ID | NUMBER | 18 | 0 | Yes | Data Collection Period, to which, this copy record belongs. Refers to DCP_ID of SDM_DATA_COLLECTION_PERIOD table. | |
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-36 Index Table
Index | Uniqueness | Columns |
---|---|---|
SDM_DS_CLMN_PK | UNIQUE | DATA_SET_COLUMN_ID |
SDM_DS_CLMN_LST_U1_CID_LST | UNIQUE | DATA_SET_ID, SYS_NC00044$ |
SDM_DS_CLMN_LST_U2_MSTR_DCP | UNIQUE | MASTER_ID, DCP_ID |
SDM_DS_CLMN_U3_INTERNAL_ID | UNIQUE | DATA_SET_ID, SYS_NC00045$ |