Editing an existing query

You can change a query that already exists. The Rdbms Query View that opens when you edit an existing query is, typically, the most convenient place to work with queries as you are developing them because the query executes immediately and the lower pane displays the results as soon as you click the Run button (or with some delay, depending on database size and network connection speed). If there are errors in the query, an error window opens with an error message.
Prerequisites: The query you are working on already exists.
Perform the following steps:
  1. Expand the Drivers > RdbnsNetwork, expand your rdbDatabase and the Points folder it contains, right-click the RdbmsPointQuery node, and click Views > RdbmsQueryView.
    The Rdbms Query View opens.
     NOTE: This view executes on display. So as soon as you open this view the saved query executes and displays results in the Query Results pane. 
  2. To edit the saved query, select and work with the text in the editor box (top box).
    Each valid query entry in the Sql property returns a set of data. Two properties define the query:
    • Sql is a large text editor that displays the text of the Query (if any).
    • Update Frequency displays when (in hours, minutes, and seconds) the driver executes the query and updates the control points.
  3. To test-run the query, click Run.
  4. To save the query for future use, click Save.
     CAUTION: If you change (or refresh) the view without clicking Save, any unsaved changes are lost. No warning is given.