SVC_SURVEYS
This table is used for storing surveys. The primary key is SURVEY_ID.
Details
-
Schema: FUSION
-
Object owner: SVC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
SVC_SURVEYS_PK |
SURVEY_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| SURVEY_ID | NUMBER | 18 | Yes | Auto-generated number and primary key for this table. | |
| ACTIVE_FLAG | VARCHAR2 | 1 | Yes | Indicates whether the survey is active (Y or N). | |
| SURVEY_NUMBER | VARCHAR2 | 30 | Yes | Auto-generated unique number with customizable format. This is an alternate key for this table. | |
| VENDOR_SURVEY_URL | VARCHAR2 | 1000 | Survey url specific to the third party survey vendor used for this survey. | ||
| VENDOR_SURVEY_NAME | VARCHAR2 | 64 | Yes | Survey name specific to the third party survey vendor used for this survey. | |
| CONFIG_ID | NUMBER | 18 | Yes | Foreign key from SVC_SURVEY_CONFIGS table. | |
| VENDOR_SURVEY_ID | VARCHAR2 | 1000 | Yes | Survey ID specific to the third party survey vendor used for this survey. | |
| NAME | VARCHAR2 | 400 | Yes | Name of the survey. | |
| DESCRIPTION | VARCHAR2 | 1000 | Full description of the survey. | ||
| START_DATE | TIMESTAMP | Yes | Date and time the survey was opened for responses. | ||
| END_DATE | TIMESTAMP | Date and time the survey was closed. | |||
| STRIPE_CD | VARCHAR2 | 30 | Yes | Lookup code that indicates the stripe code, such as CRM, HCM or PRM. | |
| OBJECT_TYPE_CD | VARCHAR2 | 30 | Yes | Lookup code that indicates the type of business object associated with the survey. Example: SVC_SERVICE_REQUESTS. | |
| DECISION_MODEL_SPACE | VARCHAR2 | 64 | Space of the decision model associated with the survey. | ||
| DECISION_MODEL_SPACE_NAME | VARCHAR2 | 64 | Name of the space of the decision model associated with this survey. | ||
| DECISION_MODEL_NAME | VARCHAR2 | 400 | Name of the decision model associated with the survey. | ||
| DECISION_MODEL_VERSION | VARCHAR2 | 30 | Version of the decision model associated with the survey such as 1.1, 1.2, LATEST. | ||
| DECISION_MODEL_SERVICE | VARCHAR2 | 64 | Run time service of the decision model associated with the survey. | ||
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | 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. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| SVC_SURVEYS | svc_survey_configs | CONFIG_ID |
| svc_survey_requests | svc_surveys | SURVEY_ID |
| svc_survey_questions_b | svc_surveys | SURVEY_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| SVC_SURVEYS_F1 | Non Unique | Default | CONFIG_ID |
| SVC_SURVEYS_N1 | Non Unique | Default | TRUNC("CREATION_DATE") |
| SVC_SURVEYS_PK | Unique | Default | SURVEY_ID |
| SVC_SURVEYS_U1 | Unique | Default | SURVEY_NUMBER |