The PUT procedure and PUT_LINE procedure in this package enable you to
place information in a buffer that can be read by another procedure or
package.
When you call PUT_LINE
, the item you specify is automatically followed
by an end-of-line marker.
If you make calls to PUT
to build a line, you must add your own end-of-line marker by calling NEW_LINE, or you can try DBMS_OUTPUT.PUT_LINE
which appends each line with an end-of-line marker.
SET SERVEROUTPUT ON;
DECLARE
mesaj VARCHAR2 (100) := 'PL/SQL';
BEGIN
DBMS_OUTPUT.PUT_LINE(mesaj);
END;
/
PUT - This procedure places a partial line in the buffer.
PUT_LINE - This procedure places a line in the buffer.