Avaya Customer Interaction Express 1.0 IVR-Editor User Manual page 94

Table of Contents

Advertisement

88 • Terms and elements of the IVR Editor
What is ODBC?
ODBC is a standardized process that allows database access without taking into
account the program or operating system used to access the database.
What is SQL?
SQL is a general, standardized query and manipulation language for databases
that consists of the following statements:
Data Definition Language: Definition and manipulation of data
structures (CREATE, ALTER, DROP, etc.)
Data Query Language: Queries (SELECT)
Data Manipulation Language: Changing data (INSERT, UPDATE,
DELETE)
Data Control Language: Controlling the data changes (COMMIT,
ROLLBACK, GRANT, REVOKE)
SQL statements are sent to the databases via ODBC (SQL-Pass-Through).
Commands supported by the server are used.
Some possible SQL statements are listed below. The list does not claim to be
complete.
SELECT queries
A simple query for a table is, for example:
Reads all fields of all records of the "User" table.
Select * From User
Reads the specified fields of all records.
Select User.Name, User.Number, User.City from User
Reads all fields of the "User" table if the "Number" field has the value "266".
Select * From User Where Number = "266"
Further Where-clauses are:
"Like" for text comparisons with wildcards,
"Between" for checking sections, and
"In" for elementary inquiries of sets.
You can specify order criteria with "Order By"
sorts the resulting set alphabetically according to the field "City".
Select * From User Order By City
sorts the values in descending order.
Select * From User Order By City Desc
The number of returned lines can be limited with "Limit"
returns the first five records
Select * From User Limit 5
returns records 6 to 10.
Select * From User Limit 5.10
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