Question: Create a script that creates and calls a stored procedure named test. This procedure should include a set of three SQL statements coded as a
Create a script that creates and calls a stored procedure named test. This procedure should include a set of three SQL statements coded as a transaction to reflect the following change: United Parcel Service has been purchased by Federal Express Corporation and the new company is named FedUP. Rename one of the vendors and delete the other after updating the vendor_id column in the Invoices table.
If these statements execute successfully, commit the changes. Otherwise, roll back the changes.
Please do not use the @ symbol and use CALL test ();
Step by Step Solution
3.53 Rating (156 Votes )
There are 3 Steps involved in it
CREATE PROCEDURE test BEGIN Update the vendorid column ... View full answer
Get step-by-step solutions from verified subject matter experts
