SQL*Plus® User's Guide and Reference Release 11.2 Part Number E16604-02 |
|
|
PDF · Mobi · ePub |
PAU[SE] [text]
where text represents the text you wish to display.
Displays the specified text then waits for the user to press RETURN.
Enter PAUSE followed by no text to display two empty lines.
Because PAUSE always waits for the user's response, it is best to use a message that tells the user explicitly to press [Return].
PAUSE reads input from the terminal (if a terminal is available) even when you have designated the source of the command input as a file.
See SET PAU[SE] {ON | OFF | text} for information on pausing between pages of a report.
To print "Adjust paper and press RETURN to continue." and to have SQL*Plus wait for the user to press [Return], you might include the following PAUSE command in a script:
SET PAUSE OFF PAUSE Adjust paper and press RETURN to continue. SELECT ...