Stored procedure deletion statement
Write a script that creates and calls a stored procedure named test. This procedure should include a set of two SQL statements coded as a transaction t o delete the row with an invoice ID of 114 from the invoices table. To do this, you must first delete all line items for that invoice from the invoice_line_items table. If these statements execute successfully, commit the changes, otherwise roll back the changes.


Nitin SontakkeRank #264 · 9.6K reputationPosted Mar 2, 2017, 9:27 PM EST
Nitin SontakkeRank #264 · 9.6K reputationPosted Mar 2, 2017, 7:30 PM EST
Gnanavel SekarRank #333 · 7.5K reputationPosted Mar 2, 2017, 9:05 PM EST