I forgot what the real term is, but it's some kind of exception handler and checkpoint (AFAIK not all DMBS supports). First you "Start" the transaction, and if everything goes fine, you "Commit" the transaction, marking it as OK (and also marking it as a checkpoint). Otherwise, you could "Rollback" the transaction, restoring values you've changed before the rollback to the last checkpoint.