Question: A Procedure that inputs old_Manager_ID and new_manager_id. This store procedure will update all the departments with the old manager ID to the new manager id
- A Procedure that inputs old_Manager_ID and new_manager_id. This store procedure will update all the departments with the old manager ID to the new manager id which is supplied as input parameters.
- a statement in the store procedure that will update old_manager_id to new_manager_id for all the departments.
- Use returning clause to return all the updated rows by the update statement.
- Show execution of the store procedure.
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
