Testing SQL Query Databoxes

Ensuring your queries work properly

This is best shown in an example. Once your SQL is crafted and appropriate Expressions have been added, click the Test button. As the description says, this query will return all columns from an Asset table. A number of Expressions will test or retrieve the returned data.

Extracting data (here, from an external database connection)

This will present a dialogue as shown below. In this example, you can see the DataBox Import.AssetID needs to be supplied; you should enter any test values and click Evaluate. In this case, 100 has been entered and in the Results section you can see the full result (which is provided in the form of an XML snippet) and the accompanying results of the Expressions:

Testing your SQL query

Caution: it is important that your SQL queries return a single row of data - read more here.

Last updated