forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
35 lines
4.7 KiB
HTML
35 lines
4.7 KiB
HTML
<a name="ddm_03_0032"></a><a name="ddm_03_0032"></a>
|
|
|
|
<h1 class="topictitle1">Database Management Syntax</h1>
|
|
<div id="body1597045080514"><div class="section" id="ddm_03_0032__section05765572371"><h4 class="sectiontitle">Supported Database Management Syntax</h4><ul id="ddm_03_0032__u77526ec2b3244cecbeffeeeed8a6c028"><li class="msonormal" id="ddm_03_0032__ld79cc39ecdc940c4ace43e8a1b5a2b60">SHOW Syntax</li><li class="msonormal" id="ddm_03_0032__en-us_topic_0077295701_li44631852311">SHOW COLUMNS Syntax</li><li class="msonormal" id="ddm_03_0032__en-us_topic_0077295701_li39806510317">SHOW CREATE TABLE Syntax</li><li class="msonormal" id="ddm_03_0032__l535b5420a93f4e9fa73211de2b9a7c26">SHOW TABLE STATUS Syntax</li><li class="msonormal" id="ddm_03_0032__l9bcbd64b9c734f388196cacadfa22d78">SHOW TABLES Syntax</li><li class="msonormal" id="ddm_03_0032__l69992b8295f843569ec6483ac7d3523f">SHOW DATABASES<p id="ddm_03_0032__p104411019142914"><a name="ddm_03_0032__l69992b8295f843569ec6483ac7d3523f"></a><a name="l69992b8295f843569ec6483ac7d3523f"></a>If the required database is not found, check fine-grained permissions of your account.</p>
|
|
</li><li class="msonormal" id="ddm_03_0032__en-us_topic_0077295701_li23647813115">SHOW INDEX FROM</li><li id="ddm_03_0032__en-us_topic_0077295701_li29918893116">SHOW VARIABLES Syntax</li></ul>
|
|
</div>
|
|
<div class="section" id="ddm_03_0032__s04edb61a6abc45a98c3aecbf7f8da1f6"><h4 class="sectiontitle">Supported Database Tool Commands</h4><ul id="ddm_03_0032__en-us_topic_0077295701_ul19541437472"><li class="msonormal" id="ddm_03_0032__lb0c0e05a70124d99854f98b24f5f99d3">DESC Syntax</li><li id="ddm_03_0032__le8c6ff613f7d4c7780765d3c796305a1">USE Syntax</li><li id="ddm_03_0032__lfd559ab3186d4d63b96003a6c5cc5df5">EXPLAIN Syntax<p class="msonormal" id="ddm_03_0032__en-us_topic_0077295701_p56414369"><a name="ddm_03_0032__lfd559ab3186d4d63b96003a6c5cc5df5"></a><a name="lfd559ab3186d4d63b96003a6c5cc5df5"></a>Unlike EXPLAIN in MySQL, the output of DDM EXPLAIN describes the nodes that the current SQL statement is routed to.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="ddm_03_0032__s9cccb74e821844888011da6d154da8d4"><h4 class="sectiontitle">Unsupported Database Management Syntax</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ddm_03_0032__table71216581815" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Restrictions on database management statements</caption><thead align="left"><tr id="ddm_03_0032__en-us_topic_0169506650_row1359552215619"><th align="left" class="cellrowborder" valign="top" width="18.91%" id="mcps1.3.3.2.2.3.1.1"><p id="ddm_03_0032__en-us_topic_0169506650_p7595112215618"><strong id="ddm_03_0032__b984019219310">Item</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="81.08999999999999%" id="mcps1.3.3.2.2.3.1.2"><p id="ddm_03_0032__en-us_topic_0169506650_p16595132205617"><strong id="ddm_03_0032__b7878820313">Restriction</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ddm_03_0032__en-us_topic_0169506650_row1059552214563"><td class="cellrowborder" valign="top" width="18.91%" headers="mcps1.3.3.2.2.3.1.1 "><p id="ddm_03_0032__en-us_topic_0169506650_p159642210560">Database management statements</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="81.08999999999999%" headers="mcps1.3.3.2.2.3.1.2 "><ul id="ddm_03_0032__en-us_topic_0169506650_u6486dcb468cb43ae91255d0c62dba963"><li class="msonormal" id="ddm_03_0032__en-us_topic_0169506650_l27f08f34069a4836b6ce7f73e2ffd4bb">Executing SET Syntax to modify global variables is not supported.</li><li id="ddm_03_0032__en-us_topic_0169506650_l20b2edb891cc4b258ed79eb42e72d3a3">SHOW TRIGGERS is not supported.</li></ul>
|
|
<p id="ddm_03_0032__en-us_topic_0169506650_en-us_topic_0077295701_p62625051">The following SHOW statements are randomly sent to a database shard. If database shards are on different RDS for MySQL instances, the returned variables or table information may be different.</p>
|
|
<ul id="ddm_03_0032__en-us_topic_0169506650_en-us_topic_0077295701_ul7281275257"><li class="msonormal" id="ddm_03_0032__en-us_topic_0169506650_l9d1da428a09748e28da500181424915f">SHOW TABLE STATUS</li><li id="ddm_03_0032__en-us_topic_0169506650_lf541508578114dacb22ef0662ae24a20">SHOW VARIABLES Syntax</li><li id="ddm_03_0032__li765691273513">CHECK TABLE does not support sharding tables by hash or sharding key.</li><li id="ddm_03_0032__li188111423142713">SHOW WARNINGS Syntax does not support the combination of LIMIT and COUNT.</li><li id="ddm_03_0032__li817481517275">SHOW ERRORS Syntax does not support the combination of LIMIT and COUNT.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ddm_08_0001.html">SQL Syntax</a></div>
|
|
</div>
|
|
</div>
|
|
|