SQL VARA Objects

SQL VARA objects retrieve values from external databases using SQL statements.

This page includes the following:

Prerequisites

To retrieve values from a database, you need:

Defining SQL VARA Objects

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

Overview

There is no limit to the lengths of values. If a maximum text limit has been selected in the Attributes Page, this only applies to the first value column. Items exceeding this limit will be excluded.

Important Considerations

When using SQL VARA objects take the following into account:

Variable Settings Section

You can include PromptSet variables here when using the Dynamic Reload (Combobox Prompts) feature for Combobox prompts. When you use PromptSet variables in a dynamic VARA object, the Preview feature returns an error. This is because the PromptSet variables do not exist in the dynamic VARA object. However, the PromptSet variables will be resolved when objects including the PromptSet are executed.

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).

The database Agent sends the preview data to the Automation Engine in the form of a message. If this message exceeds the maximum message length that a server process accepts, an error occurs.

Maximum length: Set in the MaxMsgSize= parameter of the Automation Engine UCSRV.INI file. For more information, see Automation Engine.

Default value: 3145 728 bytes. You can limit the result either by using a maximum number of lines or through SQL statements.

See also: