ROLLBACK
ROLLBACK
– abort the current transaction
ROLLBACK ;
Description
ROLLBACK
rolls back the current transaction and causes all
updates made by the transaction to be discarded.
See Also
START TRANSACTION, COMMIT, DECLARE SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT.