doc-exports/docs/dws/dev/dws_04_0674.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

108 lines
9.0 KiB
HTML

<a name="EN-US_TOPIC_0000001098814644"></a><a name="EN-US_TOPIC_0000001098814644"></a>
<h1 class="topictitle1">DBA_TAB_COLUMNS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001098814644__ab20bbac979b340c6941d7e654c68923c"><strong id="EN-US_TOPIC_0000001098814644__b62921037122810">DBA_TAB_COLUMNS</strong> displays the columns of tables. Each column of a table in the database has a row in <strong id="EN-US_TOPIC_0000001098814644__b1990113102293">DBA_TAB_COLUMNS</strong>. It is accessible only to users with system administrator rights.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001098814644__t711674225529473d83e96a0eca222a95" frame="border" border="1" rules="all"><caption><b>Table 1 </b>DBA_TAB_COLUMNS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001098814644__rda6d11e01b84465f8be7be2e749ad70f"><th align="left" class="cellrowborder" valign="top" width="27.13%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001098814644__ace1a7cad48204773a387e4fd55ed6b67"><strong id="EN-US_TOPIC_0000001098814644__b84235270691445">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="39.54%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001098814644__aa44395203d5c4ceb8aefcfec7d4056ae">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001098814644__a2dd62ecf36904fa8ade93650e13a9569">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001098814644__rc9ced18b41524e019a008869cce4fc0f"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__a324362b7c4c245878d91d920a829447d">owner</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__ab1b2cd5a07884c28870358df739b758c">character varying(64)</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__a56a7fe6708de4f1ea05825cecc58b021">Table owner</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098814644__r675552fe9e6040ea8d824700680418c3"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__a87612d1b634244618776e57866eccd0f">table_name</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__a9c696e96514845cf8842b8bd542d73bd">character varying(64)</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__a56e28a0ce8014b41ac209e675eda8842">Table name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098814644__r81b2d4a7dc3847bfb8442ff4477f92c0"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__a625ca8b634024a68a6ff4ec5d85dc211">column_name</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__aa1574c25197f43f1992ff9e6a9e38fcf">character varying(64)</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__afda27b2e9f6d493295399e3575473b3c">Column name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098814644__rcd6914fbe3d04b9b8c9c70e15e748269"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__aeee3b5c5837e4d75bbb33f1b0319a898">data_type</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__ac07ab57c8c784015840e7a6707d5aeb6">character varying(128)</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__ae3f6b08b34424f2ba2211699ebbbef22">Data type of the column</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098814644__r6fcbfcc995de476e9ff11113704d9737"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__a800a0ea8bafd4d909107ad216905a5f6">column_id</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__ae6ad9eca5325413fbf60a3cd708ccce8">integer</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__aef4c958a1c1c455bab1aefbb0f54297d">Sequence number of the column when the table is created</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098814644__r1ee14c5551ef4b129fefa18656be0d18"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__a114be6b0e6274b4f9d4eafa9a4e5866e">data_length</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__af842917e14d14b478f380e8f088b40c6">integer</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__aff1d288c43ca41249a048ac0eaae27e1">Length of the column in the unit of bytes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098814644__r4049866211454ba7850ae5d00bd7c27c"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__a05be967a8aa84998a7b55ca4d58b6139">comments</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__aa9d5cddf43ce4145be46be9dab014dce">text</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__a29cc8b7685c84fe19a6171c09f04096b">Comments</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098814644__row13553182055220"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__p1554420145210">avg_col_len</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__p12554142012522">numeric</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__p20554420205218">Average length of a column in the unit of bytes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098814644__row78388254520"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__p4839125105217">nullable</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__p983919258529">bpchar</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__p11839132525214">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_0000001098814644__row128116347528"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__p1328233445220">data_precision</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__p628214343527">integer</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__p112822348529">Indicates the precision of the data type. This parameter is valid for the numeric data type, however its value is NULL for other types.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098814644__row15323124225219"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__p1732354211523">data_scale</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__p83231042165216">integer</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__p4323174211522">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_0000001098814644__row1887194613521"><td class="cellrowborder" valign="top" width="27.13%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098814644__p10871124645211">char_length</p>
</td>
<td class="cellrowborder" valign="top" width="39.54%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098814644__p68718466525">numeric</p>
</td>
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098814644__p18711946165215">Column length (in the unit of bytes) which is valid only for 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>