Question: Write a stored procedure named spInsertCategory that adds a new row to the Categories table. To do that, this procedure should have one parameter for

Write a stored procedure named spInsertCategory that adds a new row to the Categories table. To do that, this procedure should have one parameter for the category name. (CategoryID is an IDENTITY Column, so it will be populated automatically) Code at least two EXEC statements that test this procedure. (Note that this table doesnt allow duplicate category names.)

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 Programming Questions!