Transactions start automatically with one of the following events:
The first statement following a connection to a database.
The first statement following the end of a previous transaction.