oracle package

create or replace package pkg_sfdc_registration as
emp_id number(10);

procedure hire_employee(e_id out number);

end pkg_sfdc_registration;


create or replace package body pkg_sfdc_registration as

procedure hire_employee(e_id out number) is
begin
select 1 into e_id from dual;
end hire_employee;

end pkg_sfdc_registration;

你可能感兴趣的:(package)