This view 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 button (or with some delay, depending on database size and network connection speed). If there are errors in the query, an error dialog box displays an error message.
The Rdbms Point Query View has two panes and two buttons, as shown and described below:

This top pane is a text editor field that allows you to type a query directly into the field. Any "saved" changes that you make in this field are also reflected in the Sql field of the Rdbms Point Query component. Saved changes in the Rdbms Point Query component property sheet are also reflected here.
This pane displays any data returned by the query (as typed in the Query Pane) any time that you click the button.
This button executes the query (as typed in the Query Pane) whenever it is clicked.
This button saves the query (as typed in the Query Pane).
The Rdbms Point Query Manager is the default view for the Rdbms Point Query component under the Rdbms Point Device Extension. It works in a way that is similar to the standard Point Manager view and, like that view, it has a Discovered and Database pane as well as similar buttons at the bottom of the view. It is shown and described below.

This is the top pane in view. It displays all the results of the "Discovery" action that is executed when the Discover button is clicked. Discovered points are presented in the top "Discovered" pane and may be added to a "Database" pane for inclusion under the "Points" node of the appropriate RdbmsNetwork database. Discovered points represent the results of the Rdbms Point Query execution. In fact, the results from the data in the Discovered pane should match the data presented in the Query Results pane of the Rdbms Query View. An example of this is shown below.

This button executes the query that is saved as a the value of the Rdbms Point Query "Sql" property. Only data points that meet the parameters of the query are displayed in the Discovered pane. As with the standard Point Manager view, points that appear in the Discovered pane may be added to the Database pane using the Add or Match buttons.
These buttons behave the same way as in the standard Points Manager view, as described in the NiagaraAX Drivers Guide.
Copyright © 2000-2014 Tridium Inc. All rights reserved.