Oracle 学习笔记(15)

关于存储过程的调用语句。

存储过程test_proc如下:

create or replace procedure test_proc is

begin

  dbms_output.put_line('hello world');

end;

SQL命令板里面测试的时候可以直接用begin end语句块来调用,使用例子如下:

begin

    test_proc;

end;

或者使用

call test_pro();

原文地址:https://www.cnblogs.com/niutouzdq/p/2816476.html