Updated on 2022-06-11 GMT+08:00

TCL Syntax Overview

Transaction Control Language (TCL) controls the time and effect of database transactions and monitors the database.

Commit

GaussDB(DWS) uses the COMMIT or END statement to commit transactions. For details, see COMMIT | END.

Setting a Savepoint

GaussDB(DWS) creates a new savepoint in the current transaction. For details, see SAVEPOINT.

Rollback

GaussDB(DWS) rolls back the current transaction to the last committed state. For details, see ROLLBACK.