The Interactive SQL logging feature records SQL statements as you execute them. Statements are recorded until you stop the logging process or end the current session.
Prérequis
There are no prerequisites for this task.
Contexte et remarques
You can start or stop logging using either the SQL menu, or SQL statements.
The recorded statements are stored in a log file so you can use the statements again.
Once you start logging, all SQL statements that you try to execute are logged, including ones that do not execute properly.
Open Interactive SQL.
To start logging:
Option | Action | ||
---|---|---|---|
SQL menu |
|
||
START LOGGING statement |
Execute a START LOGGING statement. For example, to start logging to a file named c:\mylogs.sql, execute the following statement:
|
To stop logging:
Option | Action | ||
---|---|---|---|
SQL menu |
Click SQL » Stop Logging. |
||
STOP LOGGING statement |
Execute the following statement:
|
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |