The transaction begin statement starts a database transaction. All table operations that occur after the transaction begin statement are part of the transaction. The transaction is completed using the transaction commit statement or discarded using the transaction rollback statement.
Transaction processing capability isn’t available with all database types. Its availability can be checked using the havetransactions() function.