Create a nested rollback point within a transaction.
Section: Transactions and savepoints
Use a savepoint
sql
sql
SAVEPOINT import_batch;
INSERT INTO tags(name) VALUES ('sqlite');
ROLLBACK TO import_batch;
RELEASE import_batch;Explanation
Helpful for large imports or multi-step workflows where one chunk may fail.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Transactions and savepoints