|SQL*Plus User's Guide and Reference
Part Number A88827-02
Command Reference, 32 of 52
PRI[NT] [variable ...]
Displays the current value of bind variables. For more information on bind variables, see your PL/SQL User's Guide and Reference.
Refer to the following for a description of the clause or term:
Enter PRINT with no variables to print all bind variables.
Bind variables are created using the VARIABLE command. For more information and examples, see the VARIABLE command in this chapter.
You can control the formatting of the PRINT output just as you would query output. For more information, see the formatting techniques described in Chapter 4.
To automatically display bind variables referenced in a successful PL/SQL block or used in an EXECUTE command, use the AUTOPRINT clause of the SET command. For more information, see the SET command in this chapter.
The following example illustrates a PRINT command: