
# START TRANSACTION

## 摘要

``` sql
START TRANSACTION [ mode [, ...] ]
```

其中 `mode` 是以下值之一：

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

## 说明

为当前会话启动一个新事务。

## 示例

``` sql
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;
```

## 另请参见

[COMMIT](./commit.md)、[ROLLBACK](./rollback.md)