Transaction with error handling idea

SQL Medium 2 views
Back to Questions

Problem Description

Show a generic pattern: begin, do steps, if any step fails then rollback, else commit.

Input Format

SQL script

Output Format

Statements

Sample Test Case

Input:
Any
Output:
Safe transaction

Constraints

Pseudo steps in SQL

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next