Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SET SERVEROUTPUT

Status
Not open for further replies.

jasonhuibers

Programmer
Sep 12, 2005
290
CA
I am running a script in SQL PLUS - and a window prompts me with:

Usage: SET SERVEROUTPUT { ON | OFF } [SIZE n]
[ FOR[MAT] { WRA[PPED] | WOR[D_WRAPPED] | TRU[NCATED] } ]

Should I be entering in ON???

Not sure how to bypass this?
 
The SQL*Plus command that I recommend to allow DBMS_OUTPUT.PUT_LINE to write to your screen is:

Code:
set serveroutput on size 1000000 format wrap

The command needs to occur prior to a PL/SQL block that uses the DBMS_OUTPUT.PUT_LINE command.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
“People may forget what you say, but they will never forget how you made them feel.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top