The attributes used to configure SQL data source points differ slightly depending upon whether the query is row-based or column-based. In both cases the Data type determines the data type of the Mango data point. Values from the result set are automatically converted to this type.

For row-based queries, the Row identifier is matched against the first column of the result set to find the row or rows that contain values (the second column) for this point. Time overrides are taken from the third column if it exists.

For column-based queries, the Column name corresponds to the column name in the result set from which the point's value is extracted. The Time override column (optional) specifies the column to use as the point's time override. Note that multiple points can use the same time override if appropriate.

Update statements

An Update statement can optionally be defined for a point, which determines how the point's value can be set in the database. This is a standard SQL statement using "update" or "insert". If this statement is not defined the point will be considered non-settable.