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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

invokation of serverout in plsql routine.

Status
Not open for further replies.

SirCharles

Programmer
Jun 10, 2002
212
0
0
US
What is syntax for following where is invoked in a procedure
rather than from the sqlplus cli?

set serverout on size 1000000

I've seen this somewhere but don't recall exactly where. I did a search on this forum - probably overlooked entry. I believe I saw sem do this one before.

Thanks,
Charlie
10/4/05


 
Charles,

The command, "SET SERVEROUT...", is not a PL/SQL command...it is a SQL*Plus command. You cannot invoke that command from a PL/SQL procedure.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[ Providing low-cost remote Database Admin services]
Click here to join Utah Oracle Users Group on Tek-Tips if you use Oracle in Utah USA.
 
Hi Dave,
Nice hearing from you.

Yes, I know that is a sqlplus command. I remember seeing the plsql equivalent somewhere.

Charlie
 
Actually there's no strict analogue of set serveroutput in pl/sql because this command not only calls dbms_output.[enable|disable] but also makes sql*plus read/not read that buffer upon command completion.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top