WriteLog Script Examples: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
(403051)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This page contains script examples for the [[Supported_QPR_ProcessAnalyzer_Commands_in_Scripts#--.23WriteLog|WriteLog]] script command.
This page contains script examples for the [[SQL Scripting Commands#--.23WriteLog|WriteLog]] script command.


The following example will write "Script started", "Example", "Print Example" into the log. Note that the WriteLog command and Print SQL statement represent two different ways of generating log entries, and you can use them also separately.
The following example will write "Script started", "Example", "Print Example" into the log. Note that the WriteLog command and Print SQL statement represent two different ways of generating log entries, and you can use them also separately.

Latest revision as of 20:48, 25 October 2021

This page contains script examples for the WriteLog script command.

The following example will write "Script started", "Example", "Print Example" into the log. Note that the WriteLog command and Print SQL statement represent two different ways of generating log entries, and you can use them also separately.

SELECT 'Script started'
SELECT 'Example'
--#WriteLog
PRINT 'Print Example'