SQL> SET SERVEROUTPUT ON
SQL> BEGIN
2 dbms_output.put_line('This is the first line');
3 dbms_output.put_line('This is the second line');
4 dbms_output.put_line('This is the last line');
5 END;
6 /
This is the first line
This is the second line
This is the last line