LogWriteSQLQuery

Outputs the constructed SQL query to the error log.

Member of namespace

Maintenance Manager

Syntax

bool LogWriteSQLQuery ()

Parameters

None.

Returns

True if the log is successfully written. Otherwise, False.

Level

Any level

Details

Writes out the result of the previous calls to the "QuerySet" actions to the error file. This action can be useful for debugging an application, allowing you to view the exact SQL that was constructed and used in ProcessRunSqlQuery.
Example:
QuerySetStation("1")
QuerySetJobID("!Demo Job")
LogWriteSQLQuery("")
ProcessRunSqlQuery("")