SQLI VARA Objects

SQLI or SQL Internal variable objects retrieve values from the Automation Engine database using SQL statements. You do not have to specify a Connection or a Login object because the database access remains internal. There is no limit to the length of the values. If you set one, this value applies to the first value column only. Items exceeding this limit are excluded.

To determine the maximum number of returned lines, use the setting SQLVAR_MAX_ROWS in the variable UC_SYSTEM_SETTINGS - Systemwide Settings.

This page includes the following:

Prerequisites

Defining SQLI VARA Objects

An SQLI VARA object definition is made up of the following pages:

Important Considerations

When using SEC_SQLI VARA objects take the following into account:

Variable Settings Section

Preview section

To run a command, select it and click Preview. The statements are executed and their results displayed. The preview function serves to check for potential errors in the database statements (for example, it the data type of the VARA object and of the database do not match).

Example:

select oh_name from oh

where oh_otype = 'JOBI'

and oh_deleteflag = 0

and oh_client = &$CLIENT#

order by oh_name asc

See also: