Set command |
home |
Syntax:
SET variable value;
Description:
Sets a program variable.
Variable | Description |
escape |
Sets an escape character so special characters can be escaped from processing. By default escape is off; no escape character is defined. When you switch escape on the default character is \. Values: Example: |
feedback | Display feedback message how many rows were retrieved in a select statement.
Values: |
long | Sets the maximum number of characters (min 1, max 2000000) that will
be displayed for columns of data type LongVarchar; Long (Oracle) and Text
(SQL Server) Example: Set long 100; |
timing | Displays a message after each query to show the time it took to execute it.
Values: |
Please note that these settings can also be changed from VBA:
SQLXL.SQLPlus.Feedback = True
SQLXL.SQLPlus.Timing = False
See also: