Lesson 8


Using transactions

In this lesson you will learn how to use transactions to safely perform a group of statements

Concepts used in this lesson include:

SQL transactions are sequences of one or more SQL statements executed as a single unit of work, ensuring consistency by either committing all changes or rolling back to the previous state in case of errors
MySQL reference for more information

Commands used in this lesson include

— Begin Transaction;
— Rollback;
— Commit;