Oracle Server Manager User's Guide
PRINT
Purpose
Print the value of a variable defined with the VARIABLE command.
Prerequisites
None.
Syntax
PRINT command ::=
where:
variable | The name of a variable defined by the VARIABLE command. |
Usage Notes
Bind variables referenced with the print command do not need to be preceded by a colon. You can use the PRINT command to display variables defined only in the current line mode session. The SET CHARWIDTH and SET NUMWIDTH commands can affect the display of the PRINT command.
If no variable name is specified all currently defined variables are printed.
Examples
PRINT balance
BALANCE
----------
4687.24
SET CHARWIDTH 10
PRINT ename
ENAME
----------
SCOTT