forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
122 lines
10 KiB
HTML
122 lines
10 KiB
HTML
<a name="EN-US_TOPIC_0000001233563327"></a><a name="EN-US_TOPIC_0000001233563327"></a>
|
|
|
|
<h1 class="topictitle1">DBA_TAB_COLUMNS</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001233563327__a64b5d6d9a4ef4fe5b03ca10f185ab1f8"><strong id="EN-US_TOPIC_0000001233563327__b62921037122810">DBA_TAB_COLUMNS</strong> stores the columns of tables and views. Each column of a table in the database has a row in <strong id="EN-US_TOPIC_0000001233563327__b1990113102293">DBA_TAB_COLUMNS</strong>. Only users with system administrator permissions can access this view.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233563327__t1b5314a0494c4ecca2852ead210fbe94" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001233563327__r8ed607a40aa04c69929e66503a0891eb"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.1.4.1.1"><p id="EN-US_TOPIC_0000001233563327__a3d8a3eda27af4781b93b716864c12966">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.1.4.1.2"><p id="EN-US_TOPIC_0000001233563327__a6d62be2ae3b9425a81b77f1931fd9488">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.1.4.1.3"><p id="EN-US_TOPIC_0000001233563327__affcae87648b641618b2a5176fcee5c04">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001233563327__reee8c5ae20d348d19f2142e08a1e6683"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__aed6e95568d5c41e9a9f91042ad0b9886">owner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__a45bb20ca775d405f92260791e53961eb">character varying(64)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__a1230622c7df9425c9c767bfc6e943ea7">Owner of a table/view</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__rd99c9fe408b1498db5c166ac7f458c26"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__ad5a9302d99174e82afbdcfba706c91e7">table_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__a64af41a3122f48ba819ce877beb84a93">character varying(64)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__a0c06f32cd53f4116b4e2c0d6580c13b8">Table/View name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__re636113cb5ae42c4bac15bc2db2ca811"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__aaa7c01a2524b4d1a9364036d0088bf4f">column_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__a83fc2904a517489b9ec0b61ac70fbefb">character varying(64)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__a4f086e5d7684491bbd09563afe8f3b62">Column name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__r6f173574ca874fab8fdda68a8c2adab4"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__ae3cb3af88c824fefa2f42eaf88252975">data_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__a55e9800ec5e54a75a93c74dc011e24a1">character varying(128)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__ad609030e27df4facb0a8929c7fcf2f2c">Data type of the column</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__rf367cbc3f36f437698e557409e257f27"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__ac44f374e2fa746eeafb89fe2b60ea958">column_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__ad557a5d3656546c2b77d999be73e928b">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__aaacc771276f442278f4f84525d7837d1">Sequence number of the column when a table/view is created</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__ra0e52a65b1fe4f048a23626e17c11fb9"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__a3cc8209dfe0747049744185d507868d2">data_length</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__a7d53cf7f6f304e7d9d7403d0a4d5102c">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__afb46944f32884af3845156759426421c">Length of the column, in bytes</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__r58f0286f08ac4be2b4f09cb7940dbab7"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__a091f5c373b544b68b0b5c3cc5dc70a87">comments</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__ae9456e7233ba4395b42505ddebe3dfd7">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__afbefe0e7513f430ebe0923f95e1d17ee">Comments</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__row13553182055220"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__p1554420145210">avg_col_len</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__p12554142012522">numeric</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__p20554420205218">Average length of a column, in bytes</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__row78388254520"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__p4839125105217">nullable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__p983919258529">bpchar</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__p11839132525214">Whether the column can be empty. For the primary key constraint and non-null constraint, the value is <strong id="EN-US_TOPIC_0000001233563327__b899717582317">n</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__row128116347528"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__p1328233445220">data_precision</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__p628214343527">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__p112822348529">Precision of the data type. This parameter is valid for the numeric data type and <strong id="EN-US_TOPIC_0000001233563327__b175701932174111">NULL</strong> for other data types.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__row15323124225219"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__p1732354211523">data_scale</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__p83231042165216">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__p4323174211522">Number of decimal places. This parameter is valid for the numeric data type and <strong id="EN-US_TOPIC_0000001233563327__b7219146416">0</strong> for other data types.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__row1887194613521"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__p10871124645211">char_length</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__p68718466525">numeric</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__p18711946165215">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_0000001233563327__row107941716922"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__p77948168213">schema</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__p177941016724">character varying(64)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__p8794131616210">Namespace that contains the table or view.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563327__row108181219211"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.1 "><p id="EN-US_TOPIC_0000001233563327__p138181622213">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.1.4.1.2 "><p id="EN-US_TOPIC_0000001233563327__p081812212210">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.1.4.1.3 "><p id="EN-US_TOPIC_0000001233563327__p18818029220">Type of the current record. If the column belongs to a table, the value of this column is <strong id="EN-US_TOPIC_0000001233563327__b877819294432">table</strong>. If the column belongs to a view, the value of this column is <strong id="EN-US_TOPIC_0000001233563327__b1277862917437">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>
|
|
|