doc-exports/docs/dws/dev/dws_06_0255.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

1.6 KiB

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.