Call a stored procedure with another in Oracle

后端 未结 5 1923
北荒
北荒 2020-11-27 15:57

Does anyone know of a way, or even if its possible, to call a stored procedure from within another? If so, how would you do it?

Here is my test code:



        
5条回答
  •  执笔经年
    2020-11-27 16:25

    @Michael Lockwood - you don't need to use the keyword "CALL" anywhere. You just need to mention the procedure call directly.

    That is

    Begin
       proc1(input1, input2);
    end;
    /
    

    instead of

    Begin
       call proc1(input1, input2);
    end;
    /
    

提交回复
热议问题