public.vwchatdata

public.vwchatdata

Description

See Chat Data - Expands all the GUIDs with their lookups

Table Definition

CREATE VIEW vwchatdata AS (
 SELECT cd.conversationid,
    cd.conversationstart,
    cd.conversationstartltc,
    cd.userid,
    ud.name,
    ud.managerid,
    ud.managername,
    cd.chatinitiatedby,
    cd.agentchatcount,
    cd.agentchattotal,
    cd.agentchatmax,
    cd.agentchatmin,
    cd.custchatcount,
    cd.custchattotal,
    cd.custchatmax,
    cd.custchatmin
   FROM (chatdata cd
     LEFT JOIN vwuserdetail ud ON (((ud.id)::text = (cd.userid)::text)))
)

Columns

Name Type Default Nullable Children Parents Comment
conversationid varchar(50) true Conversation GUID
conversationstart timestamp without time zone true Conversation Start Date (UTC)
conversationstartltc timestamp without time zone true Conversation Start Date (LTC)
userid varchar(50) true User GUID
name varchar(200) true Name
managerid varchar(50) true Manager GUID
managername varchar(200) true Manager Name
chatinitiatedby varchar(10) true Chat Started By (Agent/Remote)
agentchatcount integer true Agent Chat Count
agentchattotal numeric(20,0) true Agent Chat Response Total Time (Seconds)
agentchatmax numeric(20,0) true Agent Chat Response Max Time (Seconds)
agentchatmin numeric(20,0) true Agent Chat Response Min Time (Seconds)
custchatcount integer true
custchattotal numeric(20,0) true Customer Chat Response Total Time (Seconds)
custchatmax numeric(20,0) true Customer Chat Response Max Time (Seconds)
custchatmin numeric(20,0) true Customer Chat Response Min Time (Seconds)

Referenced Tables

Name Columns Comment Type
public.chatdata 16 Chat Data BASE TABLE
public.vwuserdetail 17 See UserDetail: User Description in detail VIEW

    • Related Articles

    • public.participantattributesdynamic

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(50) false conversationid varchar(50) false conversationstartdate timestamp without time zone false conversationstartdateltc timestamp without time zone true ...
    • public.evalquestiondata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(50) false evaluationid varchar(50) false evaluationformid varchar(50) false questiongroupid varchar(50) true questionid varchar(50) true answerid varchar(50) true ...
    • public.userpresencedetaileddata

      Description User Presence Detailed Data Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false Primary Key userid varchar(50) true Agent GUID starttime timestamp without time zone false Start Time (UTC) starttimeltc ...
    • public.userinteractionpresencedetaileddata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false userid varchar(50) true starttime timestamp without time zone false starttimeltc timestamp without time zone true endtime timestamp without time zone ...
    • public.userpresencedata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false id varchar(50) true userid varchar(50) true startdate timestamp without time zone false startdateltc timestamp without time zone true timetype ...