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();

posted on 2012-12-13 15:36  扭头撞到墙  阅读(130)  评论(0)    收藏  举报