Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » SQL Statements

START JAVA statement Next Page

START LOGGING statement [Interactive SQL]


Use this statement to start logging executed SQL statements to a log file.

Syntax

START LOGGING file-name

Remarks

The START LOGGING statement starts copying all subsequent executed SQL statements to the log file that you specify. If the file does not exist, Interactive SQL creates it. Logging continues until you explicitly stop the logging process with the STOP LOGGING statement, or until you end the current Interactive SQL session. You can also start and stop logging by clicking SQL > Start Logging and SQL > Stop Logging.

Permissions

None.

Side effects

None.

See also
Standards and compatibility
Example

Start logging to a file called filename.sql, located in the c: directory.

START LOGGING 'c:\filename.sql';