Question: 5. Write a script that creates and calls a stored procedure named test. This procedure should attempt to insert a new category named Guitars into

5. Write a script that creates and calls a stored procedure named test. This procedure should attempt to insert a new category named Guitars into the Categories table. If the insert is successful, the procedure should display this message: 1 row was inserted. If the update is unsuccessful, the procedure should display this message: Row was not inserted - duplicate entry.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!