Concept Flow - Savepoints
Start Transaction
Set Savepoint A
Execute SQL Statements
Set Savepoint B
Execute More SQL Statements
ROLLBACK TO Savepoint A?
Yes→Undo to Savepoint A
Continue
COMMIT Transaction
Start a transaction, create savepoints to mark positions, optionally rollback to a savepoint to undo partial work, then commit or rollback the whole transaction.