doc-exports/docs/dws/dev/dws_04_0653.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

101 lines
8.1 KiB
HTML

<a name="EN-US_TOPIC_0000001145814329"></a><a name="EN-US_TOPIC_0000001145814329"></a>
<h1 class="topictitle1">ALL_TAB_COLUMNS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001145814329__en-us_topic_0059778324_p730016842816"><strong id="EN-US_TOPIC_0000001145814329__b155102021172">ALL_TAB_COLUMNS</strong> displays description information about columns of the tables accessible to the current user.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001145814329__t23f78f8458144929b8fe46287cecab6e" frame="border" border="1" rules="all"><caption><b>Table 1 </b>ALL_TAB_COLUMNS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001145814329__rd66fa19172894cd7893436aab544b8fd"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001145814329__a71a700ff20cd44c7a97e76ff4f8fde3d"><strong id="EN-US_TOPIC_0000001145814329__b84235270691445">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001145814329__a7a5a3dc1cfde48138f2ed3f67870e4e5">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001145814329__abe9fe7e2abb344c7ba59420e71ee63e4">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001145814329__r01bb4dc0cb614543933cc82552e7490c"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__a3c5d1d008bdf4c17b677f3e9ee2948ed">owner</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__ae59db6f61eb54749896e8a4f9307bc83">character varying(64)</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__a4a3224d56d4a4baf93c88d2515c79540">Owner of the table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814329__r57cf4e7c7c8144fb9e0db3e4f3cbe84f"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__ad8bf7b79364745f2a3f6a8209f735617">table_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__a7eb5039c5a1d496cb1c49d27da867043">character varying(64)</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__af677e055852c4e94809f93d2952f9a84">Table name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814329__r560f49de97ff417497ffe005ba01fd02"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__ab2fbdfe3667448c5a40f7efe40961d90">column_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__a9d41977217aa40ee9b3edfc4fda7e99d">character varying(64)</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__ae3b909ccf535453f8be9a0df4c08b8fc">Column name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814329__r6a9ab51543fd4885b9e30e5ee24e28c4"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__a96255fc82f734beaabb4f3cbee9dad75">data_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__acc0d8f25de19489884acd4ff7ac5d414">character varying(128)</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__a93eb038701c548788cdaf43cbc0f5784">Data type of the column</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814329__r5476a5ff76aa44b7a9b1f4f54cffad3f"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__a5cd3168f29374aa2b3b9f8fa97bde3ee">column_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__ae31c871e3eaf4842bf6d1efddcfb90d1">integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__a7e4599900ae64afe8521b0f619c16b03">Column ID generated when the object is created or column is added</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814329__r63f34284f3584806aa349908e67d5201"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__a9b20a367d14042f29ba32b0b7551a5de">data_length</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__a1280121c0d794927acbaca253a2266df">integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__a8f5b2c655c1c47d2938549e54cedd0cb">Length of the column in the unit of bytes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814329__row68696812011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__p386948102015">avg_col_len</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__p486911852019">numeric</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__p58691085209">Average length of a column in the unit of bytes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814329__row147311500209"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__p1732115016203">nullable</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__p207321650182015">bpchar</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__p773215503207">Whether the column can be empty. For the primary key constraint and non-null constraint, the value is n.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814329__row7211103542112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__p1521133513214">data_precision</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__p14211103513216">integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__p7211143532113">Indicates the precision of the data type. This parameter is valid for the numeric data type and NULL for other types.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814329__row103501817221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__p53501017222">data_scale</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__p193501714223">integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__p33508162211">Number of decimal places. This parameter is valid for the numeric data type. For other data types, the value of this parameter is 0.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145814329__row15606173817222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814329__p2606113892220">char_length</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814329__p11606138162214">numeric</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814329__p760683817225">Column length in the unit of bytes. This parameter is valid only for the varchar, nvarchar2, bpchar, and char types.</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>