April 2026
Beginner
493 pages
23h 2m
English
Most gamers probably understand the concept of this topic already: save points are optional (but welcome) landmarks to which a transaction can be rolled back. For the rest of us, a detailed explanation follows.
In the previous example, we saw that a ROLLBACK can undo an entire transaction. In some cases, this is exactly what we want, but in other cases, we might want to partially undo the transaction. That’s where save points come into play.
This easy mechanism will become clear when we go through an example. Table 6.8 shows the initial rows of the bank_customer table.
|
id |
name |
phone |
|
|---|---|---|---|
|
1 |
John Doe |
123-456-7890 |
john.doe@example.com |
|
2 |
Jane Smith |
234-567-8901 |
jane.smith@example.com |
|
3 |
Read now
Unlock full access