doc-exports/docs/dws/dev/dws_06_0119.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

621 lines
57 KiB
HTML

<a name="EN-US_TOPIC_0000001233708651"></a><a name="EN-US_TOPIC_0000001233708651"></a>
<h1 class="topictitle1">DDL Syntax Overview</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001233708651__a65f5c9f0e2364440bc0ae1596da094dd">Data definition language (DDL) is used to define or modify an object in a database, such as a table, index, or view.</p>
<div class="note" id="EN-US_TOPIC_0000001233708651__nabe14e1eeb6a4ec283c6ae8c4acee751"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233708651__aa921c2df3df9412caf0559bdb0d3bac4"><span id="EN-US_TOPIC_0000001233708651__text411690515">GaussDB(DWS)</span> does not support DDL if its CN is unavailable. For example, if a CN in the cluster is faulty, creating a database or table will fail.</p>
</div></div>
<div class="section" id="EN-US_TOPIC_0000001233708651__s37e99ffaaede4733948890efca5e1ecd"><h4 class="sectiontitle">Defining a Database</h4><p id="EN-US_TOPIC_0000001233708651__a8cfa3fc6557a48e49857e68bbd6d7f55">A database is the warehouse for organizing, storing, and managing data. Defining a database includes: creating a database, altering the database attributes, and dropping the database. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__t2e243b4718254261ad5cecb8f3f69ad4" frame="border" border="1" rules="all"><caption><b>Table 1 </b>SQL statements for defining a database</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__r009a5c75584846a68a6d3380fe38b16c"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__a9c1d414030944ccbb57c065f7e430bb5">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__aca0c37af4c0a4b96b7a49b3470d9dff7">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__rf81409592aba4d37a956503c418cce8b"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a0a9f6f33c4e34ccf88d4782aea49694a">Create a database</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a6be80090d35143118169549db974c165"><a href="dws_06_0156.html">CREATE DATABASE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r2bcc60f32fed405cbe9100473610d1b3"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__abf5b471b6aab49f0badac91e045f2f4f">Alter database attributes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__aa9a9295083694207b49cb4b50a573255"><a href="dws_06_0120.html">ALTER DATABASE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__re356415c22d44f359f11c9f7197d7b10"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a256f6474d7a7434aa51e73ecb6e720fe">Delete a database</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__aadaa99ff727b4600b9440de3010a70f9"><a href="dws_06_0189.html">DROP DATABASE</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__sbc2368f8b8e6423c8364fcdd247ccb63"><h4 class="sectiontitle">Defining a Schema</h4><p id="EN-US_TOPIC_0000001233708651__ac480d47aed124fb29d6a5d05f82679b1">A schema is the set of a group of database objects and is used to control the access to the database objects. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__t6a2202ed36044a358f35caa0686ac430" frame="border" border="1" rules="all"><caption><b>Table 2 </b>SQL statements for defining a schema</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__rb9fc0fcdb3344896a076e94677b5cb5a"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__a834e6c415a234700a477887874887bdd">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__a077d9f1b17f24978899d56b496775b9e">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__re51dcdc6cd8f40e5a71ae0bc41531d84"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a7e3881e68a61470caee681675496b047">Create a schema</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a9f4a655f14ea42608f8050243f1abddf"><a href="dws_06_0173.html">CREATE SCHEMA</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r3e9f38cae53c4483a7b2456c13aacc9d"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a8da667e3122d471a992d63eae0af8a6c">Alter schema attributes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__aada64397abf249d8ab336a9a48943205"><a href="dws_06_0136.html">ALTER SCHEMA</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r2cdf29c72cfc4b64ac214fec9077c24a"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a2f341204ff5f44fc88a84065c1764adb">Delete a schema</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a4a32621e43964634b2afba57b531196b"><a href="dws_06_0204.html">DROP SCHEMA</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__sea00384e726c4d769fb1a6ae0d206c01"><h4 class="sectiontitle">Defining a Table</h4><p id="EN-US_TOPIC_0000001233708651__a465aa7c5dcd94fcf9e47e941fe797b46">A table is a special data structure in a database and is used to store data objects and the relationship between data objects. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__t85e657a74af5498792c111106a2be554" frame="border" border="1" rules="all"><caption><b>Table 3 </b>SQL statements for defining a table</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__rae5303545f3d419cbcf050df989539e3"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__aa9bc35077b784c7a9c98bd5f9cc539ce">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__ab2d28bc03f6c4108aa0d4c58ee37fc9e">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__r573e30f3d42b46d3a1232bfac833917d"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a48d727cc52d1472fa989c332a539e523">Create a table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a854009f78222485582357a75f3d5cf9e"><a href="dws_06_0177.html">CREATE TABLE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__rc3c73ac6efce4a77bb9bbdda9e679327"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__ac0466200b56f4875a050bd946bfa699d">Alter table attributes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a4ae9ae9a21a44384a49bb9c5e25faf7d"><a href="dws_06_0142.html">ALTER TABLE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row1511119126479"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p11112191284717">Alter a table name</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p1711211216474"><a href="dws_06_0276.html">RENAME TABLE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r4898dc58e0004011b68f6c289b0299b7"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__ab61cc1f1b3204cf985f2912e6289db61">Delete a table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__acc27ed0136a54ff7918bc82b9480d5b0"><a href="dws_06_0208.html">DROP TABLE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row142347576273"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__ab3676fdb695d458ea799517ecbe56968">Delete all the data from a table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p623565712276"><a href="dws_06_0225.html">TRUNCATE</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__sca94b8ea517e4c819f930d82431afce6"><h4 class="sectiontitle">Defining a Partitioned Table</h4><p id="EN-US_TOPIC_0000001233708651__aaee4baf598d04847b3bb5e776a856873">A partitioned table is a special data structure in a database and is used to store data objects and the relationship between data objects. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__tbcf95644f3ad4b54a7e3d9b4f4f55b43" frame="border" border="1" rules="all"><caption><b>Table 4 </b>SQL statements for defining a partitioned table</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__r125c4963a91e4321888816d47aa9f9c9"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.6.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__a0d8698e660b849e8b9743d8cb3f3a563">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.6.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__a1d090630d0e64a57a324d4f5e6c664af">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__rd57b9b2fa9564c168b7fe4e8a8d151b5"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__ad07defb68beb42bbb73225d8a69fd88f">Create a partitioned table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__aa94b7117e4064c0bbbee083eca94ae52"><a href="dws_06_0179.html">CREATE TABLE PARTITION</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r05cc941123fb494f9b973dcfa1ece930"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__adcf2d444ae824a8294da20ff4137e809">Editing a Partition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__ae2573b36b47a4def9b20ed450bfc6a8d"><a href="dws_06_0143.html">ALTER TABLE PARTITION</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r29859738601a45319fd94dd061de6781"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a12091acda818487fa60a1c4a468fcdf6">Alter partitioned table attributes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a1583f079486b4a60ac3a7760d1c44fbe"><a href="dws_06_0143.html">ALTER TABLE PARTITION</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__ra9f05cc9db2e4220a97673de645a063f"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__ae8aa2c5879a34512b355aa5c2926ede6">Delete a partition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a69662b4af88f4787bcde439221aa350e"><a href="dws_06_0143.html">ALTER TABLE PARTITION</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r0de17514ce284b63a4a53627beba2cce"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a8f3007392ce1401fa6a38ee1ae42fdca">Delete a partitioned table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a19e039b70cd5426bb16d7c10a555e2c0"><a href="dws_06_0208.html">DROP TABLE</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__section17701152431612"><h4 class="sectiontitle">Defining a Foreign Table</h4><p id="EN-US_TOPIC_0000001233708651__p3557185581413">A foreign table is a logical table object. Its data is stored in an external storage service instead of in the database.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__table129475542166" frame="border" border="1" rules="all"><caption><b>Table 5 </b>SQL statements for defining a foreign table</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__row15948125416165"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.7.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__p12948454101617">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.7.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__p149482054111617">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__row1594816544161"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p201222142016">Creating a GDS foreign table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p0395841917"><a href="dws_06_0159.html">CREATE FOREIGN TABLE (for GDS Import and Export)</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row49488549167"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p12119516201">Creating an HDFS or OBS foreign table (manually create server).</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p11508018112012"><a href="dws_06_0161.html">CREATE FOREIGN TABLE (SQL on OBS or Hadoop)</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row119490543167"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p71171152012">Creating an OBS foreign table (default server)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p45687315206"><a href="dws_06_0160.html">CREATE FOREIGN TABLE (for OBS Import and Export)</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row1094925413161"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p911514122012">Creating a foreign table for collaborative analysis</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p1519644412020"><a href="dws_06_0162.html">CREATE FOREIGN TABLE (SQL on other GaussDB(DWS))</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row19949155411619"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p1611016117208">Modifying a GDS foreign table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p910522962217"><a href="dws_06_0123.html">ALTER FOREIGN TABLE (GDS Import and Export)</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row15643162110"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p115619313219">HDFS foreign table and OBS foreign table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p458473812226"><a href="dws_06_0124.html">ALTER FOREIGN TABLE (for HDFS or OBS)</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row1219175582010"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p13219355152014">Modifying a foreign table for collaborative analysis</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p769874917223"><a href="dws_06_0125.html">ALTER FOREIGN TABLE (SQL on other GaussDB(DWS))</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row61321359192017"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p19132115942010">Deleting a foreign table.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p15374121292318"><a href="dws_06_0192.html">DROP FOREIGN TABLE</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__s77922c23b9634691b308b1b4371af3f4"><h4 class="sectiontitle">Defining an Index</h4><p id="EN-US_TOPIC_0000001233708651__a54d8244684864f2f8f65d30b0013c884">An index indicates the sequence of values in one or more columns in the database table. The database index is a data structure that improves the speed of data access to specific information in a database table. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__t8d8694623fb74cb980882c363393bded" frame="border" border="1" rules="all"><caption><b>Table 6 </b>SQL statements for defining an index</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__r29d7a5ef25c24630a98540e672200eef"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.8.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__a967478d717d94568af88319dc91553ab">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.8.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__a19487b2a9f444e6baee18522495ea802">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__rf997c80bc5914bef937c4e661cdd7c72"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.8.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a2ea7d19c253f4c3aa011318afba5bc28">Create an index</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.8.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__ad61525b8ccad41559776e4d4c8e1a33b"><a href="dws_06_0165.html">CREATE INDEX</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r7ff2afeb0b814e8ba2a6f67e75c43ae6"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.8.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a94523382d1fe4ea89c10b33a13eff084">Alter index attributes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.8.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a9b336bd1f2154cbc8d1925df481ae614"><a href="dws_06_0128.html">ALTER INDEX</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r637d42a4648344b49ec44dea478ccf6e"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.8.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a703166267d1947e6b5b189867fc5d410">Delete an index</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.8.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a6dee439f1e514708a091ff39f0df6bba"><a href="dws_06_0195.html">DROP INDEX</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__ra55c1907f76e4fd090eef11efb25a4af"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.8.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a219c079d587342d2aa29cf6c3a5bb36c">Rebuild an index</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.8.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a3caf6bd0f5f3456eb0805707a5f8cce8"><a href="dws_06_0218.html">REINDEX</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__s322273cef4e94340aac9cc68b0fe23f9"><h4 class="sectiontitle">Defining a Role</h4><p id="EN-US_TOPIC_0000001233708651__aee8f73e36d7945db8e8e702d0d3ae4de">A role is used to manage rights. For database security, all management and operation rights can be assigned to different roles. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__t0a5374b4d10a4952a269f8de16f76be7" frame="border" border="1" rules="all"><caption><b>Table 7 </b>SQL statements for defining a role</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__r7b7eedbf94d94674a1fbb55654f99a8d"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.9.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__a12f039ca0bcb4540aa4c75f223c7daa7">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.9.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__a51bcecc0e2a9498ca2a8cb9e4f4e9663">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__r358dc18299f84d9ab70e9eecbacf4b66"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.9.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__adad22db76d0a4ef28611038ad2a797ae">Create a role</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.9.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a2ec3460e43ac44b38d87f8457daf5863"><a href="dws_06_0172.html">CREATE ROLE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r0195e1a020d744b0b585ed5441e18133"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.9.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__af26ecad164a947938e7fe31029b30fcf">Alter role attributes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.9.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a1dbf490e66a243c18660ec14d2108a77"><a href="dws_06_0134.html">ALTER ROLE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r943cfefff41745689407641ffe4b126c"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.9.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a11ed3988cd314591974111911d71356d">Delete a role</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.9.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a306f0063671e41b188f0611bac44e038"><a href="dws_06_0203.html">DROP ROLE</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__s3e9566f5f5ac4e85bd8529280d1cde9a"><h4 class="sectiontitle">Defining a User</h4><p id="EN-US_TOPIC_0000001233708651__ae5e0729c5f484c89a9a77b8cc1b0a228">A user is used to log in to a database. Different rights can be assigned to users for managing data accesses and operations of users. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__t86e3794f6fa9403fbcb0fb849f9f731b" frame="border" border="1" rules="all"><caption><b>Table 8 </b>SQL statements for defining a user</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__rd5f66e5819184f069d459695727f4764"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.10.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__a1769702d1cf44e8f9a1d2d5a2627f202">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.10.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__a42345d060eb2492cb026be01fe3d1207">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__re079e40debef4e0fbc40594354944286"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.10.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a2fb5c7dab6524c298ae7bf8bead0a5d0">Create a user</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.10.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__abf45be7ed17747c3b66cf7ced88ebfb4"><a href="dws_06_0186.html">CREATE USER</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__rf01f115e90274ef899038a807d1b6933"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.10.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__aa1ae708f7c6c4f069d2a1b14bc0bc465">Alter user attributes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.10.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__af4cdd49b8dc54b728634f18cfe3f9d8a"><a href="dws_06_0149.html">ALTER USER</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__rff3407218e364ea68b68259dfc3f2b7c"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.10.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a1d34a91982af43dbbfe82639762fa25f">Delete a user</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.10.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__ab8fdeacfc5814e839b46cc9208784c4c"><a href="dws_06_0214.html">DROP USER</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__section249266806"><h4 class="sectiontitle">Defining a Redaction Policy</h4><p id="EN-US_TOPIC_0000001233708651__p85061234107">Data redaction is to protect sensitive data by masking or changing data. You can create a data redaction policy for a specific table object and specify the effective scope of the policy. You can also add, modify, and delete redaction columns. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__table106998141330" frame="border" border="1" rules="all"><caption><b>Table 9 </b>SQL statements for managing redaction policies</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__row2700151418337"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.11.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__p97001214193319">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.11.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__p7700214183314">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__row66081312115214"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.11.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p16701111493311">Create a data redaction policy</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.11.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p15452202815333"><a href="dws_06_0168.html">CREATE REDACTION POLICY</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row2700141493319"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.11.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p17700111413333">Modify a data redaction policy applied to a specified table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.11.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p6422424133317"><a href="dws_06_0132.html">ALTER REDACTION POLICY</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row1470121416334"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.11.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p1287082155213">Delete a data redaction policy applied to a specified table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.11.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p15716193011338"><a href="dws_06_0199.html">DROP REDACTION POLICY</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__section91161561514"><h4 class="sectiontitle">Defining Row-Level Access Control</h4><p id="EN-US_TOPIC_0000001233708651__p68451754394">Row-level access control policies control the visibility of rows in database tables. In this way, the same SQL query may return different results for different users. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__table114541854551" frame="border" border="1" rules="all"><caption><b>Table 10 </b>SQL statements for row-level access control</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__row1445445419511"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.12.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__p845411541654">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.12.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__p1145411548519">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__row1045413544515"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.12.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p5454205415512">Create a row-level access control policy</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.12.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p358426485"><a href="dws_06_0169.html">CREATE ROW LEVEL SECURITY POLICY</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row64548541514"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.12.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p645511540512">Modify an existing row-level access control policy</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.12.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p2511262820"><a href="dws_06_0135.html">ALTER ROW LEVEL SECURITY POLICY</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row1545517541158"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.12.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p48721529133312">Delete a row-level access control policy from a table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.12.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p1443626586"><a href="dws_06_0200.html">DROP ROW LEVEL SECURITY POLICY</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__s2660446a9bf246c781de36877f5b4903"><h4 class="sectiontitle">Defining a Stored Procedure</h4><p id="EN-US_TOPIC_0000001233708651__ab024bac39aca4d109b41822c1659f270">A stored procedure is a set of SQL statements for achieving specific functions and is stored in the database after compiling. Users can specify a name and provide parameters (if necessary) to execute the stored procedure. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__te61f3d1699cc42d19551d620dd65af72" frame="border" border="1" rules="all"><caption><b>Table 11 </b>SQL statements for defining a stored procedure</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__rc738d285bb864947afcd3137f52db165"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.13.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__ac520735d25a74eefbcbccb9982f2d366">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.13.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__a0c06699dffc942188a5a0249d06f076d">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__r34791fe7465d46c68a1355c3e1be5fd8"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.13.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a5b30f901a6714bd8919d9220bacdece4">Create a stored procedure</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.13.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a66579cd2424e48dca14bbf07d52ad260"><a href="dws_06_0170.html">CREATE PROCEDURE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__rc9a846bd9b104161874508cd9737cdad"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.13.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__aa6e5862f9495407aaadfe86f366c3f9e">Delete a stored procedure</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.13.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a8714ff25c346424fb8ec46b320a3c40a"><a href="dws_06_0201.html">DROP PROCEDURE</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__s76f0ba1c004c470fa612e9ba6532be6f"><h4 class="sectiontitle">Defining a Function</h4><p id="EN-US_TOPIC_0000001233708651__a58c75b3df623405e97e8f25ad46b0769">In <span id="EN-US_TOPIC_0000001233708651__text1835396128">GaussDB(DWS)</span>, a function is similar to a stored procedure, which is a set of SQL statements. The function and stored procedure are used the same. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__tba03e302dfa441f3a0cb2cfa5763cabb" frame="border" border="1" rules="all"><caption><b>Table 12 </b>SQL statements for defining a function</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__r7614c230d0a348eda5656b9c96a0b2f7"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.14.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__ad809f1653607428c9570889684d755c1">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.14.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__a4aa7e5f1a65244a192b145f1d1a0bb0c">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__r5e5805e225994886b856f232b74bfc9c"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.14.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a324ab45fc36848e88fa63c53bb2d7cfb">Create a function</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.14.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a2441630735cb4991b085ba2238d1e125"><a href="dws_06_0163.html">CREATE FUNCTION</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r271dbcf5b00547e98bf1eca2cc2bf2ba"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.14.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a19190f3a1d494429b58a4c5abbb8ff9c">Alter function attributes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.14.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a19482e118a8249d883f6cf2f02d2ef33"><a href="dws_06_0126.html">ALTER FUNCTION</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r969d82d39acb4e8d9c9f2728363548c6"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.14.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__ad1c7f8652c15445293f9d3d3f69a5369">Delete a function</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.14.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a6f5bc4070c564e91a3348ba19abc5e15"><a href="dws_06_0193.html">DROP FUNCTION</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__s00a056ac85f043b8bac9937eff9822fd"><h4 class="sectiontitle">Defining a View</h4><p id="EN-US_TOPIC_0000001233708651__a9ff7bc9f92e647809b76dd220e5e1093">A view is a virtual table exported from one or several basic tables. The view is used to control data accesses for users. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__t0c59b79c0d074aef9c545669117914f0" frame="border" border="1" rules="all"><caption><b>Table 13 </b>SQL statements for defining a view</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__rcb6bd9a7def0492b8fe41dc6f7392800"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.15.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__a8e0947c1ff494f6db1055711edb254ff">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.15.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__a2e96afdb4b1b483b84976df58b30edf8">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__r7c432a8333f648f49feb2c7358a90232"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.15.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a2e0af6007966481ba0c77d3c30cb3483">Create a view</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.15.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__aeed12038dcfd4b1fbe746d85cddada2e"><a href="dws_06_0187.html">CREATE VIEW</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__rbacccd7c77974fc7b0ea63d989df5fb5"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.15.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a89697f888f2d4b7cb39339ed88300a49">Delete a view</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.15.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a7a108d10c1b948db9356a3e6444ab88c"><a href="dws_06_0215.html">DROP VIEW</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__section4470719131016"><h4 class="sectiontitle">Defining a Sequence</h4><p id="EN-US_TOPIC_0000001233708651__p1957015394131">Sequences are database objects. You can generate unique integers from sequences.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__table144733451012" frame="border" border="1" rules="all"><caption><b>Table 14 </b>SQL statements for defining a sequence</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__row194481234161012"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.16.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__p1744815346107">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.16.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__p44481834171011">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__row154481348106"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.16.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p144863491011">Creating a sequence</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.16.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p34491834171010"><a href="dws_06_0174.html">CREATE SEQUENCE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row6140722141110"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.16.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p12140422161116">Modifying a sequence</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.16.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p1851132419112"><a href="dws_06_0137.html">ALTER SEQUENCE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row104491734131014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.16.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p184491734131017">Dropping a sequence</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.16.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p13449193461018"><a href="dws_06_0205.html">DROP SEQUENCE</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__section174871426101013"><h4 class="sectiontitle">Defining a Trigger</h4><p id="EN-US_TOPIC_0000001233708651__p176955810195">A trigger is a stored procedure that runs automatically when a table event happens. It responds to operations like insert, delete, and update on a table.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__table165461244121010" frame="border" border="1" rules="all"><caption><b>Table 15 </b>SQL statements for defining a trigger</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__row5546104451019"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.17.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__p1554664481011">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.17.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__p1854614414106">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__row13547644181014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.17.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p1254774441014">Creating a trigger</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.17.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p1354744461014"><a href="dws_06_0184.html">CREATE TRIGGER</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row533245431812"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.17.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p9333254121817">Modifying a trigger</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.17.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p103331654131814"><a href="dws_06_0147.html">ALTER TRIGGER</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row1547044131019"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.17.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p154764411103">Delete the trigger.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.17.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p16547164481016"><a href="dws_06_0212.html">DROP TRIGGER</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__sb2fc82b674c04543847575fcd6c7db69"><h4 class="sectiontitle">Defining a Cursor</h4><p id="EN-US_TOPIC_0000001233708651__afda5d59c589d4a03843c173bed86c8e3">To process SQL statements, the stored procedure process assigns a memory segment to store context association. Cursors are handles or pointers to context regions. With a cursor, the stored procedure can control alterations in context areas.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__t4a1a0bc788e24031a48dedb6808baf45" frame="border" border="1" rules="all"><caption><b>Table 16 </b>SQL statements for defining a cursor</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__r33270421feef402e98ad947d00be6441"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.18.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__aab4333ef6b3a411497653a230d15e201">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.18.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__a1c4ab220a0f946928c01fe1f512ea969">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__rb223669954554573b20cde22a67b1cb1"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.18.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a891f48fb77ef43b4be1080282bac3a9f">Create a cursor</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.18.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__abb6d4582fe7e44beb998deffc4318c04"><a href="dws_06_0188.html">CURSOR</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r02b9d7e57e1247f2a626e1d9e62dbb8c"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.18.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a0c6067cc70b84a25b1adbcbe6c8f39b4">Move a cursor</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.18.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__afde40b74833d4812a89863fc06eb062f"><a href="dws_06_0217.html">MOVE</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r64a3cc3515a6485aaf583c272333595b"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.18.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a2be8013c4033403bb4ada67ead259bee">Extract data from a cursor</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.18.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__aad56d07ddab8417e8dbb937dd2f3fa99"><a href="dws_06_0216.html">FETCH</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r8c000cf3713741d797994953b87153f1"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.18.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a500891ac3faa4c699a2ef481ff8d2122">Close a cursor</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.18.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a30aec0292e204986b157604de6862dd4"><a href="dws_06_0152.html">CLOSE</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__s7111e73b132c43fc880162d024a7a6fb"><h4 class="sectiontitle">Altering or Ending a Session</h4><p id="EN-US_TOPIC_0000001233708651__a9abace65ea2448a4afdc6c52b848079e">A session is a connection established between the user and the database. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__t376638327e7a456cafe1ceaac5fd27dd" frame="border" border="1" rules="all"><caption><b>Table 17 </b>SQL statements related to sessions</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__rd098e32a597540f397aa4aba2b856edf"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.19.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__af5ab8e5a3dc24c6ba1d1f8f2da8b571a">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.19.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__a7be97ac81cfa4c6fa2731340af87a821">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__r42ec211e6ef64e608964f8b11fc6bf60"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.19.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__af239f33a6e794fc9a9e5a121d86b773f">Alter a session</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.19.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__ae9ff26f2ea04459cbcd0b76904f9064c"><a href="dws_06_0139.html">ALTER SESSION</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r1faa56cc86c64ab586be96a84515e53c"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.19.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a5bb257046ee04570bf996e4fc81d2599">End a session</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.19.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a52eea870e7a941cd9eb3790f75cc8d52"><a href="dws_06_0141.html">ALTER SYSTEM KILL SESSION</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__s38e48daaae6c487d9d68f7c509e3c17a"><h4 class="sectiontitle">Defining a Resource Pool</h4><p id="EN-US_TOPIC_0000001233708651__aa6dc4af7532c42ffb3a6ac2b1ef6e48f">A resource pool is a system catalog used by the resource load management module to specify attributes related to resource management, such as Cgroups. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__te1d4296f36fe447299ccd0cd4bcf1014" frame="border" border="1" rules="all"><caption><b>Table 18 </b>SQL statements for defining a resource pool</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__r71784bbf36dc4a83abf87f4bd7620981"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.20.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__ad2dd75a23bc14916b61ed4aa1fd07347">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.20.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__adc587bf9c7f347ee9ff9c8c6cd2f1fd0">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__r99f385797d66487fabf081491553622b"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.20.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a98501a6956454cca931ec20c6f34d7dc">Create a resource pool</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.20.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__ac951377c1c73475d8fd64c7bba9c4268"><a href="dws_06_0171.html">CREATE RESOURCE POOL</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__r0c3ac5ef8a0d4f149c97305a02d31161"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.20.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__a57e9085b810d458eb82a549cd781e6f5">Change resource attributes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.20.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a77286f0208544ab4a04370ab39edb1e5"><a href="dws_06_0133.html">ALTER RESOURCE POOL</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__rb0f56cfef3da46f49612bf885e06c8ec"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.20.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__aea58ac8b21394adfbafbce202a960c8c">Delete a resource pool</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.20.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__a41499e66e4cb49d1bb27dfde8bd19f73"><a href="dws_06_0202.html">DROP RESOURCE POOL</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__section12587204754114"><h4 class="sectiontitle">Defining Synonyms</h4><p id="EN-US_TOPIC_0000001233708651__p7469648114119">A synonym is a special database object compatible with Oracle. It is used to store the mapping between a database object and another. Currently, only synonyms can be used to associate the following database objects: tables, views, functions, and stored procedures. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__table9469548134115" frame="border" border="1" rules="all"><caption><b>Table 19 </b>SQL statements for managing synonyms</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__row947074844119"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.21.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__p8470134874115">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.21.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__p1347015487412">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__row4470648134115"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.21.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p447084824116">Creating a synonym</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.21.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p184703482418"><a href="dws_06_0176.html">CREATE SYNONYM</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row147010484415"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.21.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p247084813410">Modifying a synonym</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.21.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p2047012489414"><a href="dws_06_0140.html">ALTER SYNONYM</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row7470134854117"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.21.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p184700483417">Deleting a synonym</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.21.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p144701248134119"><a href="dws_06_0207.html">DROP SYNONYM</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__section1050519210121"><h4 class="sectiontitle">Defining Text Search Configuration</h4><p id="EN-US_TOPIC_0000001233708651__a82941569dbc94ab48da28a3df7516705">A text search configuration specifies a text search parser that can divide a string into tokens, plus dictionaries that can be used to determine which tokens are of interest for searching. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__table435214213136" frame="border" border="1" rules="all"><caption><b>Table 20 </b>SQL statements for configuring text search</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__row15353172111310"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.22.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__p15353132171316">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.22.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__p83531201315">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__row435317211311"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.22.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p435318220131">Create a text search configuration</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.22.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p7315718131315"><a href="dws_06_0182.html">CREATE TEXT SEARCH CONFIGURATION</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row535411291310"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.22.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p3354228138">Modify a text search configuration</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.22.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p173132182138"><a href="dws_06_0145.html">ALTER TEXT SEARCH CONFIGURATION</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row1035417241313"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.22.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p83541328139">Delete a text search configuration</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.22.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p20309191811314"><a href="dws_06_0210.html">DROP TEXT SEARCH CONFIGURATION</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233708651__section13406557131313"><h4 class="sectiontitle">Defining a Full-text Retrieval Dictionary</h4><p id="EN-US_TOPIC_0000001233708651__p55141914483">A dictionary is used to identify and process specific words during full-text retrieval. Dictionaries are created by using predefined templates (defined in the <strong id="EN-US_TOPIC_0000001233708651__b34909411433634">PG_TS_TEMPLATE</strong> system catalog). Five types of dictionaries can be created, <strong id="EN-US_TOPIC_0000001233708651__b177080372233634">Simple</strong>, <strong id="EN-US_TOPIC_0000001233708651__b152071563933634">Ispell</strong>, <strong id="EN-US_TOPIC_0000001233708651__b12251602033634">Synonym</strong>, <strong id="EN-US_TOPIC_0000001233708651__b170960382333634">Thesaurus</strong>, and <strong id="EN-US_TOPIC_0000001233708651__b186131900333634">Snowball</strong>. Each type of dictionaries is used to handle different tasks. The following table lists the related SQL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233708651__table79771811101417" frame="border" border="1" rules="all"><caption><b>Table 21 </b>SQL statements for a full-text search dictionary</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233708651__row1297714119149"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.23.3.2.3.1.1"><p id="EN-US_TOPIC_0000001233708651__p8977111151416">Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.23.3.2.3.1.2"><p id="EN-US_TOPIC_0000001233708651__p597716112145">SQL Statement</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233708651__row79771511111413"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.23.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p169781011101410">Create a full-text retrieval dictionary</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.23.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p119781711201410"><a href="dws_06_0183.html">CREATE TEXT SEARCH DICTIONARY</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row997810116143"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.23.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p1097821141411">Modify a full-text retrieval dictionary</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.23.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p13978171116140"><a href="dws_06_0146.html">ALTER TEXT SEARCH DICTIONARY</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233708651__row797861181415"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.23.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001233708651__p4978141131411">Delete a full-text retrieval dictionary</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.23.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001233708651__p397816114143"><a href="dws_06_0211.html">DROP TEXT SEARCH DICTIONARY</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_06_0118.html">DDL Syntax</a></div>
</div>
</div>