This content has been marked as final. Show 2 replies
Try the following in SQL*PLUS:
set serveroutput on
Another way would be to use
raise_application_error(<your error number here>, '<Your error text here>');
instead of dbms_output.put_line.
I hope this helps.
before declare try (in sqlplus)
set serveroutput on;
Hope it helps.