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

Interactive SQL Online Help Interactive SQL Version 16.0 » Using DBISQL commands

start logging

Description

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

Syntax

start logging file_name

Parameters

Example

This example starts logging to a file called filename.sql, located in the c: directory.

start logging ’c: \filename.sql’

Usage

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 selecting SQL | Start Logging and SQL | Stop Logging.

Permissions

Any user can run this command.

Side effects

None.