Files
doc-exports/docs/dws/dev/dws_04_0653.html
luhuayi 177cd61a57 DWS DEVG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
2025-05-05 07:44:03 +00:00

115 lines
9.6 KiB
HTML

<a name="EN-US_TOPIC_0000001764650484"></a><a name="EN-US_TOPIC_0000001764650484"></a>
<h1 class="topictitle1">ALL_TAB_COLUMNS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001764650484__en-us_topic_0059778324_p730016842816"><strong id="EN-US_TOPIC_0000001764650484__b155102021172">ALL_TAB_COLUMNS</strong> displays description of columns of the tables and views that the current user can access.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001764650484__t621fe2dc163b4863b415323fbab8b3a0" frame="border" border="1" rules="all"><caption><b>Table 1 </b>ALL_TAB_COLUMNS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001764650484__ra6057a86bc8e4d18938e19ae6f00db7e"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001764650484__a88cef739343c4bc2ab560b940c66b5b6"><strong id="EN-US_TOPIC_0000001764650484__b88868729343519">Column</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_0000001764650484__a6c3d315ec3d5458b85e83def6283b87d">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_0000001764650484__adcffdaa3e38c4ba3942e4ab28063ebfc">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001764650484__r1a393baa2a16410cad964a65d9bdf662"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__a280d1be117b04f758795fc821fd5d07c">owner</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650484__a265c5302d90746098419b7ad84f5c664">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_0000001764650484__a922ebc0fd10b4d73a332ee96ba87638c">Owner of a table/view</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__rcaf364fc5eb04cfa878e2a0877a46c4d"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__a8d9f85080cd04b2b9c44c5ddcd643eee">table_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650484__a8dd55988e00b412d8efe1e4747a065c6">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_0000001764650484__a01f7ea8899334a79811b46f75adf00a9">Table/View name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__rf3531a3d3f5742308109256d3a7b1a48"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__aec5d9817fa9d4e2faee2857de479e45a">column_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650484__a6964350646004ca883065963d0849bba">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_0000001764650484__a96a99def08ed452fb4266605f48f8652">Column name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__r32166ae9dabe4ec3ad438c6750dec743"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__a331a2d295c744c98b3be9e9867c58475">data_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650484__ad7349681292e49578071514b62861f28">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_0000001764650484__ac6cae7c47a2143a1a5503e4237e8b47b">Data type of a column</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__r2a394b12041246539e38ac370f54dd45"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__a0db360d1db514015a873a9ddaef7c7a8">column_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650484__a7a81046ad5b24f2cb3f122a651e05bd3">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650484__a51c58feaf16f4a8a806a0ea857be03df">Column ID generated when an object is created or a column is added</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__rfb97d073da6545948f758eb7c4be0420"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__ae8ee9a3ff97748ebb73d4587be8d3df7">data_length</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650484__a12bec8b067004c768b480c697009bff8">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650484__a55120a191ed147ca9788c3aec50e6d0c">Length of the column, in bytes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__row68696812011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__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_0000001764650484__p486911852019">Numeric</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650484__p58691085209">Average length of a column, in bytes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__row147311500209"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__p1732115016203">nullable</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650484__p207321650182015">bpchar</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650484__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_0000001764650484__row7211103542112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__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_0000001764650484__p14211103513216">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650484__p7211143532113">Precision of the data type. This parameter is valid for the numeric data type and <strong id="EN-US_TOPIC_0000001764650484__b5322195082118">NULL</strong> for other types.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__row103501817221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__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_0000001764650484__p193501714223">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650484__p33508162211">Number of decimal places. This parameter is valid for the numeric data type and <strong id="EN-US_TOPIC_0000001764650484__b1818594613222">0</strong> for other data types.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__row15606173817222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__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_0000001764650484__p11606138162214">Numeric</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650484__p760683817225">Length of a column, in characters. This parameter is valid only for the varchar, nvarchar2, bpchar, and char types.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__row11860132315581"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__p686113236589">schema</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650484__p198611123205819">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_0000001764650484__p98614231583">Namespace that contains the table or view.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650484__row7150742145817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650484__p19151042205817">kind</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650484__p141510426585">Text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650484__p18151042185814">Type of the current record. If the column belongs to a table, the value of this column is <strong id="EN-US_TOPIC_0000001764650484__b124770672254046">table</strong>. If the column belongs to a view, the value of this column is <strong id="EN-US_TOPIC_0000001764650484__b22109276454046">view</strong>.</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>