SQLite Transaction Control Statements
SQLite Transaction Control Statements
SQLite Transaction control statements are used to control the database transactions. Transactions are used to group a sequence of SQL statements into a single unit of work executed as a whole.
Transaction Statements
The following statements are used to control transactions in SQLite:
SQLite Transaction Statement |
Description |
BEGIN TRANSACTION; | The BEGIN TRANSACTION statement is used to start a transaction. |
COMMIT; | The COMMIT statement is used to save the changes to the database. |
ROLLBACK; | The ROLLBACK statement is used to roll back the changes made by the transaction. |
SQLite Tutorials
SQLite tutorials on this website: