doc-exports/docs/dws/dev/dws_06_0255.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

18 lines
1.6 KiB
HTML

<a name="EN-US_TOPIC_0000001233708681"></a><a name="EN-US_TOPIC_0000001233708681"></a>
<h1 class="topictitle1">TCL Syntax Overview</h1>
<div id="body1603695906941"><p id="EN-US_TOPIC_0000001233708681__p1265119217814">Transaction Control Language (TCL) controls the time and effect of database transactions and monitors the database.</p>
<div class="section" id="EN-US_TOPIC_0000001233708681__section175801244141013"><h4 class="sectiontitle">Commit</h4><p id="EN-US_TOPIC_0000001233708681__acf8ba83d7c404eec82b54fcfc6737028"><span id="EN-US_TOPIC_0000001233708681__text1283995489">GaussDB(DWS)</span> uses the COMMIT or END statement to commit transactions. For details, see <a href="dws_06_0259.html">COMMIT | END</a>.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708681__section73411131415"><h4 class="sectiontitle">Setting a Savepoint</h4><p id="EN-US_TOPIC_0000001233708681__p464424381510"><span id="EN-US_TOPIC_0000001233708681__text2094551561">GaussDB(DWS)</span> creates a new savepoint in the current transaction. For details, see <a href="dws_06_0263.html">SAVEPOINT</a>.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708681__section1455451731715"><h4 class="sectiontitle">Rollback</h4><p id="EN-US_TOPIC_0000001233708681__p785272212173"><span id="EN-US_TOPIC_0000001233708681__text1215708764">GaussDB(DWS)</span> rolls back the current transaction to the last committed state. For details, see <a href="dws_06_0266.html">ROLLBACK</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_06_0254.html">TCL Syntax</a></div>
</div>
</div>