Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| vendors:cisco:uc:icm:sql:tcd-tcv [2022/12/13 08:06] – gerardorourke | vendors:cisco:uc:icm:sql:tcd-tcv [2024/04/12 18:10] (current) – [Call Type with Average Queue Time (from TCD)] gerardorourke | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== TCD Example | + | ====== TCD SQL ====== |
| + | ===== TCD Example | ||
| <code sql> | <code sql> | ||
| | | ||
| Line 787: | Line 788: | ||
| --Count DESC | --Count DESC | ||
| Call_Type.EnterpriseName | Call_Type.EnterpriseName | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== TCD - Number of Calls for a specific interval and Total Duration of calls in seconds and also in minutes ===== | ||
| + | |||
| + | <code sql> | ||
| + | SELECT | ||
| + | | ||
| + | , | ||
| + | , | ||
| + | |||
| + | FROM Termination_Call_Detail TCD | ||
| + | WHERE | ||
| + | (TCD.DateTime >= ' | ||
| + | AND TCD.PeripheralCallType = ' | ||
| + | AND TCD.DigitsDialed = ' | ||
| </ | </ | ||