Question: 1 . Write a procedure which accepts an employees identification number and returns back the employees full name and salary to the calling program.Write a
Write a procedure which accepts an employees identification number and returns back the employees full name and salary to the calling program.Write a simple anonymous block with the procedure call to test itWrite a function and pass a department number to itIf the DEPT table does not contain that department number, return a FALSE value, otherwise return a TRUE value.Print the appropriate message in the calling program based on the result.Write a simple anonymous block with the function call to test itWrite a function which returns the department name of a given employee idThe function accepts an employee id number as an input.If the given employee id exists, it returns the employees department name.If the employee id is invalid does not exist it returns NULL.Write a simple anonymous block with the function call to test itWrite a procedure which accepts a department number and deletes the corresponding department from DEPT table.The procedure accepts a department number.If the department number exists, the procedure assigns the departments employees to NULL and then it deletes the department.If the department number does not exist, the procedure prints a descriptive text.Write a simple anonymous block with the procedure call to test it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
