SQL Query and CMS Database Table Basics
CentreVu Report Designer Version 8 User Guide
CMS Database Table Basics
18-10
Using constants makes sense only if you have a fixed value that you
want to use under one or both of the following conditions:
●
The constant is a value that you will use in a number of different
custom reports (for example, an average wage rate).
●
You would not be able to remember the numerical value, but could
remember a name assigned to the value (for example, for the $9.00
hourly wage rate for an agent called Smith, you could have a
constant called
Smithwage
.)
The
CentreVu CMS real-time database allows only whole numbers in
queries. If you need a value to be a decimal (for example, 9.5), use whole
numbers and division to arrive at the correct number (so, in order to have
9.5 in a query, you would use 19/2 as the query entry).
Calculations
18
A calculation is a combination of database items and arithmetic
operators. You can also include constants in a calculation. The arithmetic
operators are as follows:
Some examples of calculations are:
dsplit.ACDCALLS/dsplit.ACDTIME
hagent.AUXhagent.ACWOUTTIME
100*((cagent.I_cagent.I_ACWTIME)/
cagent.I_STAFFTIME)
Arithmetic operations are generally performed in order from left to right.
However, multiplication and division operations are performed before
addition and subtraction operations, unless the addition or subtraction
operations are enclosed in parentheses. Operations in parentheses are
always performed first. If more than one set of parentheses is used, the
operation in the set farthest to the left is performed first. If one set of
parentheses is inside of another set, the operation of the inner set is
performed first.
+
add
-
subtract
*
multiply
/
divide
( )
perform first
Содержание CentreVu Report Designer
Страница 1: ...CentreVu Report Designer Version 8 User Guide 585 210 930 Comcode 108502196 Issue 1 December 1999...
Страница 4: ......
Страница 18: ...Introduction CentreVu Report Designer Version 8 User Guide Related Documents 1 8...
Страница 102: ...Edit Inputs CentreVu Report Designer Version 8 User Guide Viewing the Input Window 6 16...
Страница 142: ...Insert Field CentreVu Report Designer Version 8 User Guide Inserting Time Report Run Field on the Report 9 8...
Страница 148: ...Insert Table CentreVu Report Designer Version 8 User Guide Inserting a Table on the Report 10 6...
Страница 194: ...Format Field CentreVu Report Designer Version 8 User Guide Using the Field Format Options Window 14 6...
Страница 198: ...Format Text CentreVu Report Designer Version 8 User Guide Formatting Text on the Report 15 4...
Страница 212: ...Error Messages CentreVu Report Designer Version 8 User Guide Phase 2 Real Time Report Error Codes 16 14...
Страница 248: ...SQL Query and CMS Database Table Basics CentreVu Report Designer Version 8 User Guide Modifying a Table 18 26...
Страница 254: ...Database Items and Calculations CentreVu Report Designer Version 8 User Guide General Information B 2...
Страница 264: ...Index CentreVu CMS R3V8 Upgrades and Migration IN 10...
Страница 266: ......