SQL>
SQL>
SQL> create or replace procedure my_proc as
2 begin
3 dbms_output.put_line ( 'Hello World' );
4 end my_proc;
5 /
Procedure created.
SQL>
SQL>
SQL>
SQL> set serverout on
SQL>
SQL> begin
2 my_proc;
3 end;
4 /
Hello World
PL/SQL procedure successfully completed.
SQL>