Santosh Reddy

Santosh Reddy

  • NA
  • 64
  • 19.3k

stored procedure deletion statement

Mar 3 2017 12:07 AM
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.

Answers (3)