forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
60 lines
4.9 KiB
HTML
60 lines
4.9 KiB
HTML
<a name="EN-US_TOPIC_0000001764491592"></a><a name="EN-US_TOPIC_0000001764491592"></a>
|
|
|
|
<h1 class="topictitle1">ALL_CONSTRAINTS</h1>
|
|
<div id="body1553495037927"><p id="EN-US_TOPIC_0000001764491592__p819572174514"><strong id="EN-US_TOPIC_0000001764491592__b210417524270">ALL_CONSTRAINTS</strong> displays information about constraints accessible to the current user.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001764491592__table2019514234513" frame="border" border="1" rules="all"><caption><b>Table 1 </b>ALL_CONSTRAINTS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001764491592__row519610211455"><th align="left" class="cellrowborder" valign="top" width="25.77%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001764491592__p619610274515"><strong id="EN-US_TOPIC_0000001764491592__b3048020854358">Column</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.97%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001764491592__p519620214517">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="54.26%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001764491592__p219611214455">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001764491592__row1919618214458"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491592__p1719612220451">constraint_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491592__p01968234517">vcharacter varying(64)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.26%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491592__p640312320473">Constraint name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491592__row219610217451"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491592__p1528611044720">constraint_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491592__p2019616214519">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.26%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491592__p19641255194710">Constraint type</p>
|
|
<ul id="EN-US_TOPIC_0000001764491592__ul14483151819288"><li id="EN-US_TOPIC_0000001764491592__li18483181822819"><strong id="EN-US_TOPIC_0000001764491592__b2964155134618">C</strong>: Check constraint</li><li id="EN-US_TOPIC_0000001764491592__li174831418112816"><strong id="EN-US_TOPIC_0000001764491592__b177461053194613">F</strong>: Foreign key constraint</li><li id="EN-US_TOPIC_0000001764491592__li1048321892817"><strong id="EN-US_TOPIC_0000001764491592__b31449490462">P</strong>: Primary key constraint</li><li id="EN-US_TOPIC_0000001764491592__li2483018162813"><strong id="EN-US_TOPIC_0000001764491592__b1970685694616">U</strong>: Unique constraint.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491592__row121965215453"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491592__p819716264514">table_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491592__p2055164091615">character varying(64)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.26%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491592__p71972211451">Name of constraint-related table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491592__row10197528456"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491592__p195782422162">index_owner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491592__p135866421168">character varying(64)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.26%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491592__p186404424817">Owner of constraint-related index (only for the unique constraint and primary key constraint)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491592__row1249124174914"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491592__p11249841495">index_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491592__p1041814417161">character varying(64)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.26%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491592__p9249124144911">Name of constraint-related index (only for the unique constraint and primary key constraint)</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0639.html">System Views</a></div>
|
|
</div>
|
|
</div>
|
|
|