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
12 KiB
HTML
122 lines
12 KiB
HTML
<a name="EN-US_TOPIC_0000001188323530"></a><a name="EN-US_TOPIC_0000001188323530"></a>
|
|
|
|
<h1 class="topictitle1">USER_TAB_COLUMNS</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001188323530__en-us_topic_0059777721_p162734471387"><strong id="EN-US_TOPIC_0000001188323530__b03811315202918">USER_TAB_COLUMNS</strong> stores information about 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_0000001188323530__tf5da2deaf7134023b5d62038f624526a" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_affcae87648b641618b2a5176fcee5c04">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_a1230622c7df9425c9c767bfc6e943ea7">Owner of a table/view</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_a0c06f32cd53f4116b4e2c0d6580c13b8">Table/View name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_a4f086e5d7684491bbd09563afe8f3b62">Column name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_ad609030e27df4facb0a8929c7fcf2f2c">Data type of the column</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_aaacc771276f442278f4f84525d7837d1">Sequence number of the column when a table/view is created</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_afb46944f32884af3845156759426421c">Length of the column, in bytes</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_afbefe0e7513f430ebe0923f95e1d17ee">Comments</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_p20554420205218">Average length of a column, in bytes</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_b899717582317">n</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_b175701932174111">NULL</strong> for other data types.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_p4323174211522">Number of decimal places. This parameter is valid for the numeric data type and <strong id="EN-US_TOPIC_0000001188323530__en-us_topic_0000001233563327_b7219146416">0</strong> for other data types.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__en-us_topic_0000001233563327_p8794131616210">Namespace that contains the table or view.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__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_0000001188323530__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>
|
|
|