forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
37 lines
3.0 KiB
HTML
37 lines
3.0 KiB
HTML
<a name="mrs_01_1428"></a><a name="mrs_01_1428"></a>
|
|
|
|
<h1 class="topictitle1">SHOW TABLES</h1>
|
|
<div id="body1595920211061"><div class="section" id="mrs_01_1428__s1c2fb9c848d3442b9a23498a756f65f5"><h4 class="sectiontitle">Function</h4><p id="mrs_01_1428__a479ab5e8231a42b89b74fc05e4d3658b"><b><span class="cmdname" id="mrs_01_1428__cmdname710710317594">SHOW TABLES</span></b> command is used to list all tables in the current or a specific database.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1428__s74e38960eb19422bb6e00e049a8e144e"><h4 class="sectiontitle">Syntax</h4><p id="mrs_01_1428__ab5de08d36c5d4e74818355d86bf1a541"><b><span class="cmdname" id="mrs_01_1428__cmdname76061853111712">SHOW TABLES</span></b> <i><span class="varname" id="mrs_01_1428__v3df6da9948e7442a9ae1f9dcb47f68cb">[IN db_<span id="mrs_01_1428__text8995655103520">n</span>ame];</span></i></p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1428__sc562f5f2c9e440dc8ea25a1f3b145668"><h4 class="sectiontitle">Parameter Description</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1428__tfbb991adf4344d2fb27629f70630100e" frame="border" border="1" rules="all"><caption><b>Table 1 </b>SHOW TABLE parameters</caption><thead align="left"><tr id="mrs_01_1428__ra2ae2775845548aa96989dd3d35456d4"><th align="left" class="cellrowborder" valign="top" width="21.51%" id="mcps1.3.3.2.2.3.1.1"><p id="mrs_01_1428__ae1f9db80a6e04d748d1d60a145cba4e3">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="78.49000000000001%" id="mcps1.3.3.2.2.3.1.2"><p id="mrs_01_1428__a24a4b269e46c4c438c88f9736eb6de45">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_1428__rcac5b9ede0f84aaeb6fa3de19f6617d1"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.3.2.2.3.1.1 "><p id="mrs_01_1428__a0bfe08bbff8f46a5930a16185c8dd4d4">IN db_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="78.49000000000001%" headers="mcps1.3.3.2.2.3.1.2 "><p id="mrs_01_1428__a598b28a35b2c410a94631ef042cc5616">Name of the database. This parameter is required only when tables of this specific database are to be listed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="mrs_01_1428__sbdb980f99f28440d9181a194ac5f3bea"><h4 class="sectiontitle">Usage Guidelines</h4><p id="mrs_01_1428__a04b7ba9bf68843149079bee68fcead6f">IN db_Name is optional.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1428__s48d23baacfa245edaf9586eb4ed766d6"><h4 class="sectiontitle">Examples</h4><p id="mrs_01_1428__a98998bf1f87b4dc79691aef11ceb9e85"><b><span class="cmdname" id="mrs_01_1428__cmdname15684185711716">SHOW TABLES IN ProductDatabase;</span></b></p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1428__s3bdfd790912444eaa61e25c34d4fbe0b"><h4 class="sectiontitle">System Response</h4><p id="mrs_01_1428__a1ff9b66a96df47cc8f5244f0ce141747">All tables are listed.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1424.html">DDL</a></div>
|
|
</div>
|
|
</div>
|
|
|