Transactions and data manipulation

When you modify data, the rollback log stores a copy of the old and new state of each row affected by each data manipulation statement. This means that if you begin a transaction, realize you have made a mistake, and roll the transaction back, you restore the database to its previous condition.

 See also