SQL*Plus User's Guide and Reference Release 8.1.5 A66736-01 |
|
Command Reference, 43 of 52
Stores query results in an operating system file and, optionally, sends the file to a printer.
SPO[OL] [file_name[.ext]|OFF|OUT]
Refer to the following list for a description of each term or clause:
Enter SPOOL with no clauses to list the current spooling status.
To spool output generated by commands in a command file without displaying the output on the screen, use SET TERMOUT OFF. SET TERMOUT OFF does not affect output from commands run interactively.
To record your displayed output in a file named DIARY using the default file extension, enter
SQL> SPOOL DIARY
To stop spooling and print the file on your default printer, enter
SQL> SPOOL OUT
|
Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|