Oracle: Call stored procedure inside the package

后端 未结 2 1246
难免孤独
难免孤独 2021-02-07 02:25

I\'m not much in Oracle. I use PL/SQL Developer.

I have the following package:

create or replace package PKG1
as
procedure INIT
(
  nRN                           


        
2条回答
  •  -上瘾入骨i
    2021-02-07 03:01

    You're nearly there, just take out the EXECUTE:

    DECLARE
      procId NUMBER;
    
    BEGIN
      PKG1.INIT(1143824, 0, procId);
      DBMS_OUTPUT.PUT_LINE(procId);
    END;
    

提交回复
热议问题