Jump to: navigation, search

In the Column List:

  • P = Primary key
  • M = Mandatory field
  • F = Foreign key (where the term is used loosely to indicate a surrogate key reference to a field in another table, not a formal constraint)
  • DV = Default value

Table SDR_SURVEY_FACT

Description

Introduced: 8.5.008.29. Supported in certain Genesys Engage cloud deployments only.
Modified: 8.5.010.16 (UPDATE_AUDIT_KEY added); 8.5.010 (data type for SESSION_ID and INTERACTION_ID modified in multi-language databases)

In partitioned databases, this table is partitioned.


Each row in this table describes a post-call survey event, including the question asked and the response received. The facts are based on data passed from Designer applications. Rows are inserted after the survey is completed and are not updated. If the customer rejects the survey offer, no row is created. The INTERACTION_ID links the SDR_SURVEY_FACT record with the related INTERACTION_FACT record.

Tip
To assist you in preparing supplementary documentation, click the following link to download a comma-separated text file containing information such as the data types and descriptions for all columns in this table: Download a CSV file.

Hint: For easiest viewing, open the downloaded CSV file in Excel and adjust settings for column widths, text wrapping, and so on as desired. Depending on your browser and other system settings, you might need to save the file to your desktop first.

Column List

Legend

Column Data Type P M F DV
SESSION_ID varchar(50) X X
START_DATE_TIME_KEY integer X X X
SEQUENCE_ID integer X X
START_TS_MS numeric(19) X
INTERACTION_ID varchar(50) X X
SDR_SURVEY_QUESTIONS_KEY integer X X -2
SDR_SURVEY_ANSWERS_KEY integer X X -2
CREATE_AUDIT_KEY numeric(19) X X
UPDATE_AUDIT_KEY numeric(19) X

SESSION_ID

Modified: 8.5.010 (in Microsoft SQL Server, data type modified in multi-language databases)
The ID as assigned to the session by Orchestration Server. In combination with SEQUENCE_ID and the START_DATE_TIME_KEY, the SESSION_ID forms the value of the composite primary key for this table. You can use the SESSION_ID to link the SDR_SURVEY_FACT record with an SDR_SESSION_FACT.

START_DATE_TIME_KEY

Identifies the start of a 15-minute interval in which the fact began. Use this value as a key to join the fact tables to any configured DATE_TIME dimension. In combination with SESSION_ID and SEQUENCE_ID, the START_DATE_TIME_KEY forms the value of the composite primary key for this table.

SEQUENCE_ID

The unique identifier of the activity within the SDR. In combination with SESSION_ID and the START_DATE_TIME_KEY, the SEQUENCE_ID forms the value of the composite primary key for this table.

START_TS_MS

The UTC-equivalent value, in milliseconds, of the date and time at which the activity started.

INTERACTION_ID

Modified: 8.5.010 (in Microsoft SQL Server, data type modified in multi-language databases)
The unique identifier of the interaction, as assigned by SIP Server. Use this field to join SDR_SURVEY_FACT with a corresponding interaction record in the INTERACTION_FACT table, by using the following condition:

SDR_SURVEY_FACT.INTERACTION_ID = INTERACTION_FACT.MEDIA_SERVER_IXN_GUID

SDR_SURVEY_QUESTIONS_KEY

The key that is used to join the SDR_SURVEY_QUESTIONS dimension to the fact tables.

SDR_SURVEY_ANSWERS_KEY

The key that is used to join the SDR_SURVEY_ANSWERS dimension to the fact tables.

CREATE_AUDIT_KEY

The surrogate key that is used to join to the CTL_AUDIT_LOG control table. The key specifies the lineage for data creation. This value can be useful for aggregation, enterprise application integration (EAI), and ETL tools—that is, applications that need to identify newly added data.

UPDATE_AUDIT_KEY

Introduced: Release 8.5.010.16
The surrogate key that is used to join to the CTL_AUDIT_LOG control table. The key specifies the lineage for data update. This value can be useful for aggregation, enterprise application integration (EAI), and ETL tools — that is, applications that need to identify recently modified data.

Index List

CODE U C Description
I_SDR_SURVEY_FACT_SDT Improves access time, based on the Start Date Time key.

Index I_SDR_SURVEY_FACT_SDT

Field Sort Comment
START_DATE_TIME_KEY Ascending

Subject Areas

No subject area information available.

This page was last edited on January 10, 2020, at 20:48.
Comments or questions about this documentation? Contact us for support!