rdb-RdbmsPointQuery

This component is a container and a child of the Rdbms Point Device Extension (Points folder). You use it to construct and execute queries against any database to which you have access and sufficient privileges.

Figure 1. RdbmsPointQuery properties


To add an Rdbms Point Query to the Points folder under your rdb database, expand Config > Drivers > RdbmsNetwork, expand a database node, double-click the Points folder, click New, create the query and click OK.

To access a query, expand the Points folder, right-click the RdbmsPointQuery node, and click Views > AX Property Sheet.

The Sql property is a text editor used to create and display the query statement. Named columns are optional. Unnamed columns are displayed as “column1, column2, ...” and so on. Key columns are optional. If no key column is specified, the driver uses the first column as the primary key.

You can execute this query manually and also set a regular interval time for updates using the Update Frequency property.

In a addition to the standard properties (Status, Fault Cause and Enabled), these properties support point queries.

PropertyValueDescription
Update Frequencyhours, minutes, secondsDictates how often the driver automatically executes the query.
Last Updatedate and timeIndicates the last time the driver executed the query.
Sqltext editorProvides an editor (one of several available) for viewing and editing the query statement. The query provides the criteria for database point discoveries initiated from the Rdbms Point Query Manager view and other views.

Note: This property is actually BFormat. This means that you can add additional syntax to the SQL string that processes before the driver sends the query to the database.
Key Column1  
Key Column2  

Action

  • Execute runs the application.