Presto 0.141t Documentation

12.25. START TRANSACTION

12.25. START TRANSACTION

Synopsis

START TRANSACTION [ mode [, ...] ]

where mode is one of

ISOLATION LEVEL { READ UNCOMMITTED | READ COMMITTED | REPEATABLE READ | SERIALIZABLE }
READ { ONLY | WRITE }

Description

Start a new transaction for the current session.

Examples

START TRANSACTION;
START TRANSACTION ISOLATION LEVEL REPEATABLE READ;
START TRANSACTION READ WRITE;
START TRANSACTION ISOLATION LEVEL READ COMMITTED, READ ONLY;
START TRANSACTION READ WRITE, ISOLATION LEVEL SERIALIZABLE;