The PUT_LINE procedure puts a single line that includes an end-of-line character sequence in the message buffer.
EXECUTE privilege on the PUT_LINE procedure.
Use the PUT_LINE procedure to write a line that includes an end-of-line character sequence to the message buffer.
SET SERVEROUTPUT ON@
CREATE PROCEDURE PROC1()
BEGIN
CALL DBMS_OUTPUT.PUT( 'a' );
CALL DBMS_OUTPUT.NEW_LINE;
CALL DBMS_OUTPUT.PUT_LINE( 'b' );
END@
CALL PROC1@
SET SERVEROUTPUT OFF@
This example results in the following output:
a
b