Sql Query - Avaya Customer Interaction Express 1.0 IVR-Editor User Manual

Table of Contents

Advertisement

98 • Terms and elements of the IVR Editor

SQL query

Task
You create an SQL query with the SQL query element and query the open
database.
Icons
The IVR-Editor module uses the following icons for the SQL query element.
Icon in the catalog of elements
Properties
The table below shows the properties of element SQL query. For information on
general element properties, see General properties of all elements on page 25.
Properties
Explanation
DB variable
SQL query
Advanced mode
DB table
Variables for result
Data record variable
Number of records
CallTags
Icon in the IVR script
Specifies the variable containing the database ID. Already
used DB variables can be selected with
Specifies a SQL query.
You select a DB table in default mode. You can enter four
conditions maximum. These conditions are linked with a
logical "AND" rendering the following query.
SELECT * FROM tablename WHERE column=value AND
column1>value AND column2<>value AND
column3<value
You enter a SQL query in advanced mode. You can use
variables in a SQL query. A variable must be marked with
"<:" at the beginning and :> at the end. (Example:
<:redirectNumber:> )
Examples for SQL queries.
SELECT * FROM VoiceMail WHERE MsgName =
'<:VarMsgName:>'
Reads all rows of the VoiceMail table where the MsgName
matches the contents of the variable VarMsgName.
SELECT convert (varchar(8), getdate(), 3) AS date
Reads the current date from the Sybase database in the
format dd.mm.yy to the Datum field. xxx
Depending on the type of database, the value or variable
must be in single or double quotation marks.
The result of the query can be accessed via the variable
specified here.
A reference to the result of the query is stored in the record
variable after the query. It is required for the elements First
record, Next record, Modify record and Delete record to
be able to access these results. You can work with several
parallel queries.
The number of records found is entered in the variable after
the query.
Opens the Select tag dialog. You can select a tag. You
might have to add a reference to certain topics, agent
groups, etc. ("ag[agentgroup_1].free").
.
User Manual CIE 1.0 IVR-Editor

Advertisement

Table of Contents
loading

This manual is also suitable for:

Customer interaction express 1.0Ivr-editor

Table of Contents