Select for Retrieval

The Select for Retrieval command queries the database, retrieves data, creates a cursor (buffer), and places in it the rows which match the “where” criteria in the select statement. A record is selected each time the rule is invoked.

When you select the up arrow next to the Select for Retrieval text box, the Select From Table For Retrieval window displays.

Variables

When you finish entering all the information, select Compile Statement and the program constructs the SQL statement in the text box at the bottom of the window.

Select Test Statement to make sure that the program can connect with the database to execute the statement.