IT lexicon Database Transaction

Transaction

Database På svenska → Updated: 2026-05-23

A group of database operations treated as a single unit — either all succeed or all are rolled back.

BEGIN; UPDATE account1...; UPDATE account2...; COMMIT;. If something goes wrong: ROLLBACK. Critical for consistency (transferring funds where only half happens = disaster). ACID guarantees give technical promises.

← Back to the lexicon