데이터베이스/PL/SQL

PL/SQL PL/SQL블록에프로시저

왕왕왕왕 2015. 11. 13. 09:24

 create or replace procedure my_proc as
     begin
     dbms_output.put_line ( 'Hello World' );
     end my_proc;
    /

 

 

my_proc 프로시저네임으로 생성

출력문은 hello world

 

이후에

 

begin

my_proc;

end;

/

 

my_proc;프로시저만 불러옴