Question: PL/SQL Create and invoke a package that contains private and public constructs. a. Create a package specification and package body called EMP_PKG that contains your
Create and invoke a package that contains private and public constructs. a. Create a package specification and package body called EMP_PKG that contains your ADD_EMPLOYEE and GET_EMPLOYEE procedures as public constructs, and include your VALID_DEPTID function as a private construct. b. Invoke the EMP_PKG.ADD_EMPLOYEE procedure, using department ID 15 for employee Jane Harris with the e-mail ID JAHARRIS. Because department ID 15 does not exist, you should get an error message as specified in the exception handler of your procedure. c. Invoke the ADD_EMPLOYEE package procedure by using department ID 80 for employee David Smith with the e-mail ID DASMITH
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
