What is the purpose of setting serveroutput in oracle?
set serveroutput on executed in SQL Plus executes behind the scenes:

dbms_output.enable(buffer_size =&gt; NULL);


set serveroutput off executes:

dbms_output.disable;