statement
SAVEPOINT
Marks a point within a transaction to which later changes can be rolled back without discarding earlier work. Example target: SQLite 3.46.1. Use only the isolated starter dataset; setup and expected results are in the batch evidence.
Formal Syntax & Structure
sql syntaxsql
SAVEPOINT nameWorking Example
Example Snippetsql
BEGIN; UPDATE orders SET amount=130 WHERE id=101;SAVEPOINT lab_point;