Query Properties

The Properties page is used to specify the database, in which a query and a query text will be created, and additional settings will be determined:

Determine the following parameters on the page:

The selected DBMS driver and the list of available drivers are displayed next to the Query to Database box. By default, the driver list displays the selected driver used during repository connection setup. If query is specified for one or several drivers, the selected driver(s) will be marked in the driver list.

To show or hide the driver list, use the Hide Driver List/Show Driver List button.

Click the Check Query button to check if the created query is correct.

To set the specified query to database for all DBMS, click the Apply for All DBMS button. The confirmation dialog box opens. If query is already specified for at least one driver that is different from the current one, all existing queries will be replaced with the current one if the answer is positive.

Various value can be sent to the query by means of parameters or global variables. To send a parameter in the query text, specify is identifier with the : prefix. To send a global variable, specify its identifier enclosed with the %% characters. For example:

Select * From T_Data Where Value < :MAX_LIMIT

Select * From T_Data Where Value < %%GLOBAL_MAX_LIMIT%%

To finish the wizard, click the Save button, after which the query is saved. The following actions are executed when saving a query:

See also:

Query