SAVEPOINT
A savepoint lets you undo part of a transaction. One bad row does not have to cost the whole batch.
task
Insert (1,1), (2,2), (3,3) into pts, but row 2 turns out to be wrong. Undo only that insert with a savepoint and commit rows 1 and 3.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
A savepoint lets you undo part of a transaction. One bad row does not have to cost the whole batch.
Insert (1,1), (2,2), (3,3) into pts, but row 2 turns out to be wrong. Undo only that insert with a savepoint and commit rows 1 and 3.