$ 0 0 I think there are 2 issues SET SERVEROUTPUT ON begin .... DBMS_OUTPUT.ENABLE(1000000); ... end: