SDM_FORM_INS_ANSWER
This table stores all answers related to the form/journal.
Primary Key
Table 4-95 Primary Key Table
Constraint Name | Columns |
---|---|
SDM_FRM_INS_ANSWER_PK | FORM_INS_ANSWER_ID |
Foreign Key
Table 4-96 Foreign Key Table
Table | Foreign Table | Foreign Key Columns |
---|---|---|
SDM_FORM_INS_ANSWER | SDM_FORM_QUESTION_LIST_VAL | VALUE_CHOICE_LIST_ID |
SDM_FORM_INS_ANSWER | SDM_FORM_QUESTION | FORM_QUESTION_ID |
SDM_FORM_INS_ANSWER | SDM_FORM_INSTANCE | FORM_INSTANCE_ID |
Columns
Table 4-97 Column Details Table
Name | Data Type | Length | Precision | Scale | Null Allowed | Comments |
---|---|---|---|---|---|---|
FORM_INS_ANSWER_ID | NUMBER | 18 | 0 | No | Unique identifier of the record. | |
FORM_INSTANCE_ID | NUMBER | 18 | 0 | No | Form, to which, this answer belongs. Refers to FORM_INSTANCE_ID of SDM_FORM_INSTANCE table. | |
FORM_QUESTION_ID | NUMBER | 18 | 0 | No | Question, for which, this answer is given by the user. Refers to FORM_QUESTION_ID of SDM_FORM_QUESTION table. | |
ACCESS_LEVEL | NUMBER | 18 | 0 | Yes | Indicates approver level of the user, who answered the question. | |
ANSWERED_BY_ID | VARCHAR2 | 255 | Yes | Specific user ID, who answered the question. | ||
ANSWERED_ON | DATE | Yes | Date, on which, user answered the question. | |||
VALUE_TEXT | VARCHAR2 | 255 | Yes | Answer given by the user when data type is Text, Yes/No, True/False. | ||
VALUE_DATE | DATE | Yes | Answer given by the user when data type is Date, Date/Time. | |||
VALUE_NUMBER | NUMBER | 29 | 12 | Yes | Answer given by the user when data type is Number, Integer. | |
VALUE_CHOICE_LIST_ID | NUMBER | 18 | 0 | Yes | Answer given by the user when data type is List. Refers to QSTN_LIST_VAL_ID of SDM_FORM_QUESTION_LIST_VAL table. | |
ANSWERED_FROM | VARCHAR2 | 20 | Yes | Indicates whether user answered the question from Web or SmartView. | ||
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-98 Index Table
Index | Uniqueness | Columns |
---|---|---|
SDM_FRM_INS_ANSWER_PK | UNIQUE | FORM_INS_ANSWER_ID |