创建存储过程 PROCEDURE
plsql路径
create or replace procedure p_helloword is
begin
dbms_output.put_line('adminChai');
end p_helloword;
调用方式一:
begin
-- Test statements here
p_helloword;
end;
调用方式二:
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> set serveroutput on;
SQL> exec p_helloword;
adminChai
PL/SQL 过程已成功完成。
SQL>