SDM_FORM_GROUP_BY

This table stores all attributes of section for summary view.

Primary Key

Table 4-83 Primary Key Table

Constraint Name Columns
SDM_FORM_GROUPBY_PK FORM_GROUPBY_ID

Foreign Key

Table 4-84 Foreign Key Table

Table Foreign Table Foreign Key Columns
SDM_FORM_GROUP_BY SDM_DATA_SET_COLUMN DATA_SET_COLUMN_ID
SDM_FORM_GROUP_BY SDM_FORM_SECTION FORM_SECTION_ID

Columns

Table 4-85 Column Details Table

Name Data Type Length Precision Scale Null Allowed Comments
FORM_GROUPBY_ID NUMBER   18 0 No Unique identifier of the record.
FORM_SECTION_ID NUMBER   18 0 No Section, to which, this attribute belongs. Refers to FORM_SECTION_ID of SDM_FORM_SECTION table.
DATA_SET_COLUMN_ID NUMBER   18 0 No Indicates data set attribute, which is included in this section. Refers to DATA_SET_COLUMN_ID of SDM_DATA_SET_COLUMN table.
GROUP_BY CHAR 1     No Indicates whether grouping should be done on this attribute or not. Value is Y or N.
COLUMN_ORDER NUMBER   4 0 No Indicates the order, in which, attributes should be displayed.
DCP_ID NUMBER   18 0 Yes Data Collection Period, to which, form template is deployed. 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-86 Index Table

Index Uniqueness Columns
SDM_FORM_GROUPBY_PK UNIQUE FORM_GROUPBY_ID
SDM_FORM_GB_U1_SCTN_DSCLMN UNIQUE FORM_SECTION_ID, DATA_SET_COLUMN_ID