db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

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.

hints