statement

SET TRANSACTION

Sets properties of the current transaction. In PostgreSQL set isolation before executing queries or modifications. Example target: PostgreSQL 17. Use only the isolated starter dataset; setup and expected results are in the batch evidence.

Formal Syntax & Structure

sql syntaxsql
SET TRANSACTION ISOLATION LEVEL level

Working Example

Example Snippetsql
BEGIN;SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;
SQL Reference