| SERVEROUTPUT (Oracle8 Syntax) |
SERVEROUT[PUT] {ON | OFF}
[SIZE n]
[FOR[MAT] {WRA[PPED] | WOR[D_WRAPPED] | TRU[NCATED]}]
|
Controls whether or not SQL*Plus displays the output of stored procedures or PL/SQL blocks executed from the SQL*Plus prompt. Such output is most often generated by the DBMS_OUTPUT.PUT_LINE procedure.
Keywords
ON
Displays the output.
OFF
Suppresses the output of DBMS_OUTPUT.PUT_LINE. This option is the default.
SIZE
Sets the number of output bytes that can be buffered within the server. The default for n is 2000, and n must be between 2000 and 1,000,000.
WRAPPED
Specifies that output is to be wrapped within the current linesize. Line breaks can occur in the middle of words.
WORD WRAPPED
Specifies that output is to be word-wrapped within the current linesize. Line breaks will occur between words.
TRUNCATED
Specifies that any line longer than the linesize will be truncated.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access