Hi,
I am reviewing the document PL/SQL Packages and Types Reference
11g Release 1 (11.1.)
B28419-03
There is a section that indicates:
...
Typing SET SERVEROUTPUT ON in SQL*Plus has the effect of invoking
DBMS_OUTPUT.ENABLE (buffer_size => NULL);
with no limit on the output.
...
When I test using an anonymous block, using buffer_size of NULL doesn't produce any output.
set serveroutput on
begin
dbms_output.put_line('Foo');
end;
/
Produces output as expected.
begin
dbms_output.enable(buffer_size => NULL);
dbms_output.put_line('Foo');
end;
/
Produces no output.
This is not what I had expected. Can anyone explain what I am doing incorrectly?