Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A database collector reads data from a Datasource. It holds the SQL that will be sent to the datasource to retrieve data.

The query columns must match up to any streams saving the data.

Insert excerpt
_standard_settings
_standard_settings
nopaneltrue


Image Removed

Image Added creates a new Stream with the attributes implied by the query. If the Datasource Instance Expression has been entered then the expression will be used to select the datasource, otherwise the first Datasource Instance alphabetically will be used. The new Stream will be shown on the model, connected to this Database Collector.

To use this feature, the supplied query must be pure SQL i.e. should not contain embedded expressions (as described above).

PhixFlow wraps the query with a "where 1= 0" to avoid a long running statement.

Time Data

Excerpt

PhixFlow recognises date and date-time formats, but does not recognise time-only formats, for example HH:mm:ss. When a database collector loads time data, it applies the string data-type. This applies to data from MariaDB and SQL Server databases as there is no TIME data-type in Oracle DB.