Getting error while Executing Package

后端 未结 3 430
孤独总比滥情好
孤独总比滥情好 2020-12-21 08:27

Table Structure:

Name       Null Type         
---------- ---- ------------ 
DPT_NO          NUMBER       
SALARY          NUMBER(10)   
PERIOD          VARC         


        
3条回答
  •  一生所求
    2020-12-21 08:32

    The package needs a specification (i.e. a separate interface definition) as the error message says. You would have to add something like before the definition of the package body (i.e. its implementation):

    CREATE OR REPLACE package salary_sal AS
       PROCEDURE find_sal(c_dpt_no salary.dpt_no%TYPE);
    END salary_sal;
    /
    

提交回复
热议问题