Search Results
Parameters ¶ mysql Procedural style only: A mysqli object returned by mysqli_connect () or mysqli_init () name The identifier of the savepoint.
Procedural style only: A link identifier returned by mysqli_connect or mysqli_init name The identifier of the savepoint.
Description Object oriented style (method): publicboolmysqli::savepoint ( string$name ) Procedural style: boolmysqli_savepoint ( mysqli $link , string$name ) Warning
Mar 31, 2026 · Description: Learn how to use SAVEPOINTs in MySQL to create partial rollback points within a transaction, enabling fine-grained error recovery.
MySQL InnoDB provides support for the statements SAVEPOINT, ROLLBACK TO SAVEPOINT, RELEASE SAVEPOINT. The SAVEPOINT statement is used to set a save point for the transaction with the specified name. If a save point with the given name already exists the old one will be deleted.
Mar 31, 2026 · Learn how to use SAVEPOINTs in MySQL to create partial rollback points within a transaction, enabling fine-grained error recovery.
People also ask
What is savepoint in MySQL?
What is a savepoint statement in MySQL InnoDB?
What does mysqli_RELEASE_SAVEPOINT() do?
Does MySQL support savepoints in nested transactions?
Learn how to use the MySQL SAVEPOINT statement for precise transaction control. Set savepoints, perform partial rollbacks, and optimize transaction management in InnoDB with practical examples.
