0

I have many DBMS_OUTPUT.put_line in a procedure, but when I launch it I only have this message in the SQL Developer console :

anonymous block completed

This is how I launch my procedure :

BEGIN
  MY_PROCEDURE();
  commit;
END;

How to fix that ?

BnJ
  • 1,024
  • 6
  • 18
  • 37

1 Answers1

1

I forgot SET SERVEROUTPUT ON...

It works :

SET SERVEROUTPUT ON;
BEGIN
  MY_PROCEDURE();
  commit; 
END;
BnJ
  • 1,024
  • 6
  • 18
  • 37