doc-exports/docs/dws/tool/DWS_DS_82.html
Lu, Huayi 346ac31da9 DWS TG 8.1.3.200 VERSION
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-08-28 09:20:17 +00:00

117 lines
12 KiB
HTML

<a name="EN-US_TOPIC_0000001188202566"></a><a name="EN-US_TOPIC_0000001188202566"></a>
<h1 class="topictitle1">Overview</h1>
<div id="body1584526252526"><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p58485517">This section describes how to manage tables efficiently.</p>
<div class="note" id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_note56607607"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_ul0357153722510"><li class="text" id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_li153571037122510">You need to configure all mandatory parameters to complete the operation. Mandatory parameters are marked with asterisks (*).</li><li id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_li5357237182515">Refreshing is the only operation supported for foreign table.</li></ul>
</div></div>
<p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p6154442019197">After creating the table, you can perform operations on the existing table. Right-click the selected table and select the required operation.</p>
<div class="section" id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_section535135149553"><h4 class="sectiontitle">Context Menu</h4><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p287278814255">Additional options for table operations are available in the table context menu. The context menu options available for table operations are:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_table266124295636" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Table context menu options</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row3683819395636"><th align="left" class="cellrowborder" valign="top" width="31.39%" id="mcps1.3.4.3.2.3.1.1"><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p1149754295636"><strong id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_b22831133174646">Menu Item</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="68.61%" id="mcps1.3.4.3.2.3.1.2"><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p5888572395636"><strong id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_b37382461174646">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row4512820095636"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p3150556395636">View Table Data</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p181378295636">Opens the table data information. For details, see <a href="DWS_DS_101.html">Viewing Table Data</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row4717906295636"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p6340764595636">Edit Table Data</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p3574564195636">Opens the window for editing table data. For details, see <a href="DWS_DS_102.html">Editing Table Data</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row2033371995636"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p3641850995636">Reindex Table</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p6421811695636">Re-creates the table index. For details, see <a href="DWS_DS_85.html">Reindexing a Table</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row4012864295636"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p2919454595636">Analyze Table</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p1594793395636">Analyzes a table. For details, see <a href="DWS_DS_86.html">Analyzing a Table</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row1620968695636"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p3791618495636">Truncate Table</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p5131205095636">Truncates table data. For details, see <a href="DWS_DS_84.html">Truncating a Table</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row2684773895636"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p2718319395636">Vacuum Table</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p5435502095636">Vacuums table data. For details, see <a href="DWS_DS_87.html">Vacuuming a Table</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row3058025495636"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p6108149195636">Set Table Description</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p4865375395636">Sets table description. For details, see <a href="DWS_DS_88.html">Setting the Table Description</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row3333600695636"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p1586197595636">Set Schema</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p975160095636">Sets the schema of a table. For details, see <a href="DWS_DS_90.html">Setting the Schema</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row5338933710436"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p2956906610436">Export Table Data</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p4628418410436">Exports table data. For details, see <a href="DWS_DS_98.html">Exporting Table Data</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row5792079710449"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p6107299410449">Import Table Data</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p4796546710449">Imports table data. For details, see <a href="DWS_DS_100.html">Importing Table Data</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row2533704910456"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p3903507010456">Show DDL</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p772411610456">Shows the DDL of a table. For details, see <a href="DWS_DS_99.html">Show DDL</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row293057331055"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p249541331055">Export DDL</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p80188651055">Exports Table DDL. For details, see <a href="DWS_DS_96.html">Exporting Table DDL</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row780640210514"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p2833878810514">Export DDL and Data</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p1374050710514">Exports DDL and table data. For details, see <a href="DWS_DS_97.html">Exporting Table DDL and Data</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row2196167210521"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p3406499310521">Rename Database</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p780104710521">Renames a table. For details, see <a href="DWS_DS_83.html">Renaming a Table</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row2552912510527"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p5459324510527">Drop Table</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p5997673810527">Drops (deletes) a table. For details, see <a href="DWS_DS_91.html">Dropping a Table</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row3762504410532"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p2772974810532">Properties</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p3151713310532">Shows table properties. For details, see <a href="DWS_DS_92.html">Viewing Table Properties</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row157851738102515"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p17787163820252">Grant/Revoke</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p14254198151612">Grants or revokes permissions. For details, see <a href="DWS_DS_93.html">Grant/Revoke Privilege</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_row1692814172511"><td class="cellrowborder" valign="top" width="31.39%" headers="mcps1.3.4.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p129281841142511">Refresh</p>
</td>
<td class="cellrowborder" valign="top" width="68.61%" headers="mcps1.3.4.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188202566__en-us_topic_0185264473_p1892819413258">Refreshes a table.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_81.html">Managing Table</a></div>
</div>
</div>