WriteLog Script Examples

From QPR ProcessAnalyzer Wiki
Revision as of 09:13, 20 June 2016 by TeeHiet (talk | contribs) (403051)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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'