Versions Compared

Key

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

...

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

...

Insert excerpt
_standard_settings
_standard_settings
nopaneltrue

The following fields are configured on the Details tab:

FieldDescription
NameName of the database collector.
DatasourceThe datasource that this database collector will collect from.
Statement ExpressionQuery2168684970 to be processed by the database collector to retrieve data from the database.
Allow Non-Scheduled CollectionIf this is turned on, then the database collector will run as part of any ad-hoc Analysis Engine run which requires this data. If not, it will only run as part of a scheduled Task Plan under the Analysis Engine.
EnabledTick when the configuration is complete and the database collector is ready to be used.
Advanced
TimeoutA timeout for the query.
Datasource Instance ExpressionThe datasource to which this database collector is connected may list multiple database instances from which the data may be read. Each Datasource Instance is identified by a unique string. This expression should evaluate to a plain text string which allows the database collector to determine the specific instance to use. If the expression is blank then the database collector will assume that there is only one instance and will use that one by default. If there is more than one instance and no expression is provided here then an error will be thrown during analysis since the database collector will be unable to determine which instance to use.
Description
DescriptionOptional: A description of the database collector.

...

Note the use of directly entering a PhixFlow Expression into SQL to calculate values. Expressions must be surrounded by curly braces i.e. start with a '{' and end with '}' and take the form of a standard PhixFlow Expression . In the example above the from and to dates of the stream period are referenced through the special Internal Variables .

If the dates include a time element, use the query string:

...

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

Form Icons

...

.

...

See Also

...