> ## Documentation Index
> Fetch the complete documentation index at: https://docs.risingwave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# COMMIT

> RisingWave supports read-only transactions. You can use the `COMMIT` command to commit the current transaction.

For more information about transactions in RisingWave, see [Transactions](/processing/transactions).

You can start a read-only transaction by using the `BEGIN READ ONLY` or `START TRANSACTION READ ONLY` command.

## Syntax

```sql theme={null}
COMMIT;
```

## Example

```sql theme={null}
COMMIT;
-------RESULT
COMMIT
```

## Related topics

<CardGroup>
  <Card title="Transactions" icon="rotate" iconType="solid" href="/processing/transactions" horizontal />

  <Card title="BEGIN" icon="play" iconType="solid" href="/sql/commands/sql-begin" horizontal />

  <Card title="START TRANSACTION" icon="play" iconType="solid" href="/sql/commands/sql-start-transaction" horizontal />
</CardGroup>
