public.vwqueuerealtimedata
Description
Table Definition
CREATE VIEW vwqueuerealtimedata AS (
SELECT qc.keyid,
qc.queueid,
qd.name AS queuename,
qc.media,
qc.statscount,
qc.startdate,
qc.startdateltc,
COALESCE(datediff('second'::character varying, qc.startdate, timezone('utc'::text, now())), 0) AS statussecs,
((datediff('second'::character varying, qc.startdate, timezone('utc'::text, now())))::numeric / 86400.00) AS statusdays,
qc.updated
FROM (queuerealtimedata qc
LEFT JOIN queuedetails qd ON (((qd.id)::text = (qc.queueid)::text)))
)
Columns
keyid |
varchar(100) |
|
true |
|
|
|
queueid |
varchar(50) |
|
true |
|
|
|
queuename |
varchar(255) |
|
true |
|
|
|
media |
varchar(50) |
|
true |
|
|
|
statscount |
numeric(20,2) |
|
true |
|
|
|
startdate |
timestamp without time zone |
|
true |
|
|
|
startdateltc |
timestamp without time zone |
|
true |
|
|
|
statussecs |
integer |
|
true |
|
|
|
statusdays |
numeric |
|
true |
|
|
|
updated |
timestamp without time zone |
|
true |
|
|
|
Referenced Tables
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 ...