Question: Write a Procedure that inputs Update SQL statement to be executed as a string and department ID.Update statement will update department name where departmentID is
- Write a Procedure that inputs Update SQL statement to be executed as a string and department ID.Update statement will update department name where departmentID is added with the help of parameter.
- Add the functionality to store procedure which can execute the Update SQL statement dynamically.
- Show execution of the store procedure.
Step by Step Solution
3.46 Rating (153 Votes )
There are 3 Steps involved in it
To create a stored procedure in SQL that takes an update SQL statement as a string and a department ID as a parameter and then executes the update dyn... View full answer
Get step-by-step solutions from verified subject matter experts
