top of page
CerebroSQL

MySQL: 

SAVEPOINT

Syntax:
SAVEPOINT identifier
ROLLBACK [WORK] TO [SAVEPOINT] identifier
RELEASE SAVEPOINT identifier

InnoDB supports the SQL statements SAVEPOINT, ROLLBACK TO SAVEPOINT,
RELEASE SAVEPOINT and the optional WORK keyword for ROLLBACK.

URL: https://dev.mysql.com/doc/refman/8.0/en/savepoint.html

Example

bottom of page