|
|
Re: How to set serveroutput thorogh stored procedure [message #40708 is a reply to message #40702] |
Fri, 01 November 2002 10:10   |
andrew again
Messages: 2577 Registered: March 2000
|
Senior Member |
|
|
When you do a "set serveroutput on" from sqlplus, it does two things:
1.) enables dbms_output buffer
2.) tells sqlpus to display the contents of buffer
You can set the size of the output buffer from pl/sql using:
begin
-- 1000000 is max
dbms_output.enable(1000000);
end;
You then need to fetch the output yourself using dbms_output.get_line.
You can also set the size using "set serveroutput on size 1000000"
|
|
|
|