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 SontakkePosted Mar 3, 2017, 2:27 AM
Gnanavel SekarPosted Mar 3, 2017, 2:05 AM
Nitin SontakkePosted Mar 3, 2017, 12:30 AM