forked from docs/doc-exports
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>
26 lines
3.3 KiB
HTML
26 lines
3.3 KiB
HTML
<a name="EN-US_TOPIC_0000001233430179"></a><a name="EN-US_TOPIC_0000001233430179"></a>
|
|
|
|
<h1 class="topictitle1">DML Syntax Overview</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001233430179__en-us_topic_0059778364_p138696282510">Data Manipulation Language (DML) is used to perform operations on data in database tables, such as inserting, updating, querying, or deleting data.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000001233430179__s642f0c247fa748b4ab6971448f9d91b6"><h4 class="sectiontitle">Insert Data</h4><p id="EN-US_TOPIC_0000001233430179__a74d824b167ca4bd49792e466290551bd">Inserting data refers to adding one or multiple records to a database table. For details, see <a href="dws_06_0236.html">INSERT</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001233430179__s65193250dcd84c92bab592bcf0e0fae3"><h4 class="sectiontitle">Updating Data</h4><p id="EN-US_TOPIC_0000001233430179__afa745271a7cd4d5ea887228a7c57fd77">Modifying data refers to modifying one or multiple records in a database table. For details, see <a href="dws_06_0240.html">UPDATE</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001233430179__s4fb3cf2b2afd4f33ac389caff6932298"><h4 class="sectiontitle">Querying Data</h4><p id="EN-US_TOPIC_0000001233430179__a1f6b60ff27224cf78fa1032294aa1b7c">The database query statement <strong id="EN-US_TOPIC_0000001233430179__b15246817403347">SELECT</strong> is used to search required information in a database. For details, see <a href="dws_06_0238.html">SELECT</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001233430179__s30563427f3dd4465bcd6dab062c47424"><h4 class="sectiontitle">Deleting Data</h4><p id="EN-US_TOPIC_0000001233430179__ab3676fdb695d458ea799517ecbe56968">For details about how to delete data that meets specified conditions from a table, see <a href="dws_06_0231.html">DELETE</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001233430179__sb9fed96c0be84d20a7e2425c2da441df"><h4 class="sectiontitle">Copy Data</h4><p id="EN-US_TOPIC_0000001233430179__a02d9db751cd04014aea66486f6532155"><span id="EN-US_TOPIC_0000001233430179__text1546659286">GaussDB(DWS)</span> provides a statement for copying data between tables and files. For details, see <a href="dws_06_0230.html">COPY</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001233430179__s9ef5e945888c49eebce8da5ed431e23e"><h4 class="sectiontitle">Locking a Table</h4><p id="EN-US_TOPIC_0000001233430179__a5ec940f1215a41b9a69a6a821a9c1c9f"><span id="EN-US_TOPIC_0000001233430179__text1179870984">GaussDB(DWS)</span> provides multiple lock modes to control concurrent accesses to table data. For details, see <a href="dws_06_0234.html">LOCK</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001233430179__s59b678787f544cf8b4bf22c19db482d0"><h4 class="sectiontitle">Run the following statement to invoke the function:</h4><p id="EN-US_TOPIC_0000001233430179__a9b09ff46496e4f26999f6d8f456f91d1"><span id="EN-US_TOPIC_0000001233430179__text1949505382">GaussDB(DWS)</span> provides three statements for invoking functions. These statements are the same in the syntax structure. For details, see <a href="dws_06_0229.html">CALL</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_06_0227.html">DML Syntax</a></div>
|
|
</div>
|
|
</div>
|
|
|