1-- SQL Developer : show View | DBMS Output > Add connection (+)
2SET SERVEROUTPUT ON;
3DECLARE
4 v_name VARCHAR2(50) := 'Bond';
5BEGIN
6 DBMS_OUTPUT.PUT_LINE('Hello !');
7 DBMS_OUTPUT.PUT_LINE('My name is ' || v_name);
8END;
1-- EXAMPLE
2SET SERVEROUTPUT ON;
3BEGIN
4DBMS_OUTPUT.PUT_LINE('This is printed. '||'This is concatenated and printed too!');
5END;
6/