Question: Create a SQL stored procedure called SignUpForShift, which takes a VolunteerPersonID, Date, DepartmentID, and JobID as input and adds a new entry to the Volunteer,Schedule
Create a SQL stored procedure called SignUpForShift, which takes a VolunteerPersonID, Date, DepartmentID, and JobID as input and adds a new entry to the Volunteer,Schedule tables for that volunteer on that date. This stored procedure can be used by volunteers to sign up for available shifts.
Step by Step Solution
There are 3 Steps involved in it
This stored procedure first checks if the volunteer is already signed up for the shift on the given ... View full answer
Get step-by-step solutions from verified subject matter experts
