Search Results hr_quest_answer_values_fk2
Overview
The table HR.HR_QUEST_ANSWER_VALUES is a core data object within Oracle EBS Human Resources (HRMS) module, specifically designed to store the individual answer values provided for questionnaire fields. In Oracle EBS 12.1.1 and 12.2.2, the questionnaire framework allows organizations to capture structured feedback, survey responses, or custom data entry forms. Each row in this table represents a single answer to a specific field (question) within a questionnaire response. The table acts as a child to the HR_QUEST_ANSWERS table, which holds the overall response to a given questionnaire instance, and as a child to HR_QUEST_FIELDS, which defines the structure of each question. This table is essential for breaking down a completed questionnaire into its atomic answer components, enabling granular analysis and reporting.
Key Information Stored
The table contains the following primary data elements:
- QUEST_ANSWER_VAL_ID (
NUMBER(15)): System-generated primary key, sourced from the sequenceHR_QUEST_ANSWER_VALUES_S. Uniquely identifies each answer value row. - QUESTIONNAIRE_ANSWER_ID (
NUMBER(15)): Mandatory foreign key referencingHR_QUEST_ANSWERS. Links the answer value to a specific questionnaire response header. - FIELD_ID (
NUMBER(15)): Mandatory foreign key referencingHR_QUEST_FIELDS. Identifies the specific question or field to which this answer corresponds. - VALUE (
VARCHAR2(2000)): The actual answer content provided by the respondent. Supports up to 2000 characters of free-form or selected response data. - OBJECT_VERSION_NUMBER (
NUMBER): System-maintained version number, incremented on each update for concurrency control. - Audit Columns: Standard Who columns (
LAST_UPDATED_BY,LAST_UPDATE_LOGIN,CREATED_BY,LAST_UPDATE_DATE,CREATION_DATE) provide full tracking of data changes.
A critical uniqueness constraint, HR_QUEST_ANSWER_VALUES_UK1, enforces that the combination of QUESTIONNAIRE_ANSWER_ID and FIELD_ID is unique. This ensures that for any given questionnaire response, there can be only one answer per question field, preventing duplicate data entry.
Common Use Cases and Queries
The table is typically queried to retrieve or analyze questionnaire results. Common patterns include:
- Extracting all answers for a specific response: Selecting rows by
QUESTIONNAIRE_ANSWER_IDto obtain a complete set of answers for a single questionnaire instance. - Cross-referencing with question definitions: Joining with
HR_QUEST_FIELDSto display question labels alongside answer values, enabling reports that present "question → answer" pairs. - Aggregating responses for analysis: Grouping by
FIELD_IDand counting distinct values to calculate frequency distributions for multiple-choice questions. - Data validation and audit: Checking for orphaned records (where
QUESTIONNAIRE_ANSWER_IDorFIELD_IDreference non-existent parent rows) or tracking updates viaOBJECT_VERSION_NUMBER.
A sample query pattern for reporting might be:
SELECT qa.questionnaire_answer_id,
qf.field_label,
qav.value
FROM hr.hr_quest_answer_values qav
JOIN hr.hr_quest_fields qf ON qav.field_id = qf.field_id
JOIN hr.hr_quest_answers qa ON qav.questionnaire_answer_id = qa.questionnaire_answer_id
WHERE qa.questionnaire_id = :p_questionnaire_id;
Related Objects
The table has documented referential relationships with the following objects in the Oracle EBS schema:
- Parent Table:
HR.HR_QUEST_ANSWERS– Represents the header of a completed questionnaire. The columnQUESTIONNAIRE_ANSWER_IDinHR_QUEST_ANSWER_VALUESis a foreign key referencing this table. Joining onQUESTIONNAIRE_ANSWER_IDlinks individual answer values to their response header. - Parent Table:
HR.HR_QUEST_FIELDS– Defines the metadata for each question field within a questionnaire. The columnFIELD_IDis a foreign key referencing this table. Joining onFIELD_IDassociates answer values with their respective question definitions, including labels, data types, and ordering. - Indexes: The table is supported by two unique indexes—
HR_QUEST_ANSWER_VALUES_PK(onQUEST_ANSWER_VAL_ID) andHR_QUEST_ANSWER_VALUES_UK1(onQUESTIONNAIRE_ANSWER_ID,FIELD_ID)—plus a non-unique indexHR_QUEST_ANSWER_VALUES_FK2(onFIELD_ID). All indexes reside in tablespaceAPPS_TS_TX_IDXand are of type NORMAL. - Dependent Objects: The table is referenced by APPS-layer views (starting with
HR_), though specific view names are not enumerated in the provided metadata. No bidirectional dependencies on database objects are listed.
-
APPS.HR_QSV_SHD dependencies on HR_QUEST_ANSWER_VALUES
12.2.2
-
APPS.HR_QSV_SHD dependencies on FND_MESSAGE
12.1.1
-
APPS.HR_QSV_SHD dependencies on FND_MESSAGE
12.2.2
-
APPS.HR_QSV_SHD dependencies on HR_QUEST_ANSWER_VALUES
12.1.1
-
INDEX: HR.HR_QUEST_ANSWER_VALUES_FK2
12.1.1
owner:HR, object_type:INDEX, object_name:HR_QUEST_ANSWER_VALUES_FK2, status:VALID,
-
INDEX: HR.HR_QUEST_ANSWER_VALUES_FK2
12.2.2
owner:HR, object_type:INDEX, object_name:HR_QUEST_ANSWER_VALUES_FK2, status:VALID,
-
APPS.HR_QSV_BUS dependencies on HR_QUEST_ANSWER_VALUES
12.1.1
-
APPS.HR_QSV_BUS dependencies on HR_QSV_SHD
12.2.2
-
APPS.HR_QSV_BUS dependencies on HR_QUEST_ANSWER_VALUES
12.2.2
-
APPS.HR_QSV_BUS dependencies on HR_QSV_SHD
12.1.1
-
TABLE: HR.HR_QUEST_ANSWER_VALUES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_QUEST_ANSWER_VALUES, object_name:HR_QUEST_ANSWER_VALUES, status:VALID,
-
TABLE: HR.HR_QUEST_ANSWER_VALUES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_QUEST_ANSWER_VALUES, object_name:HR_QUEST_ANSWER_VALUES, status:VALID,
-
PACKAGE BODY: APPS.HR_QSV_SHD
12.1.1
-
PACKAGE BODY: APPS.HR_QSV_SHD
12.2.2
-
APPS.HR_QSV_BUS dependencies on HR_UTILITY
12.2.2
-
APPS.HR_QSV_BUS dependencies on HR_UTILITY
12.1.1
-
APPS.HR_QSV_SHD dependencies on HR_UTILITY
12.2.2
-
APPS.HR_QSV_SHD dependencies on HR_UTILITY
12.1.1
-
PACKAGE BODY: APPS.HR_QSV_BUS
12.1.1
-
PACKAGE BODY: APPS.HR_QSV_BUS
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
eTRM - PER Tables and Views
12.2.2
description: Table to store NQF Training info for a person ,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,