Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. (7 marks) Write a stored procedure called AddCrewMember that accepts a movie id, crew id, position name, and wage. Ensure the wage is between

4. (7 marks) Write a stored procedure called AddCrewMember that accepts a movie id, crew id, position name, and wage. Ensure the wage is between $8,000 and $80,000. Add the person to the movie (MovieCrew) and update the budget of the movie by the person's wage. Be sure that the statements succeed or fail as a group and validate the success of each DML statement before proceeding to the next step. (Note: Assume each position name is unique in the Position table.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Foundations of Finance The Logic and Practice of Financial Management

Authors: Arthur J. Keown, John D. Martin, J. William Petty

8th edition

132994879, 978-0132994873

Students also viewed these Accounting questions