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

74 lines
6.0 KiB
HTML

<a name="EN-US_TOPIC_0000001811490777"></a><a name="EN-US_TOPIC_0000001811490777"></a>
<h1 class="topictitle1">GS_VIEW_INVALID</h1>
<div id="body0000001073009658"><p id="EN-US_TOPIC_0000001811490777__p914111595419"><strong id="EN-US_TOPIC_0000001811490777__b198785022318">GS_VIEW_INVALID</strong> queries all unavailable views visible to the current user.</p>
<p id="EN-US_TOPIC_0000001811490777__p17575917191412">If the basic table, function, or synonym on which the view depends is abnormal, the <strong id="EN-US_TOPIC_0000001811490777__b1822111378265">validtype</strong> column of the view is displayed as <strong id="EN-US_TOPIC_0000001811490777__b184271144102616">invalid</strong>. If the system object on which the view depends changes during an upgrade, the <strong id="EN-US_TOPIC_0000001811490777__b2497135419266">validtype</strong> column of the view is displayed as <strong id="EN-US_TOPIC_0000001811490777__b73542017271">invalidInUpgrade</strong>.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001811490777__table1047810881918" frame="border" border="1" rules="all"><caption><b>Table 1 </b>GS_VIEW_INVALID columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001811490777__row1548010821920"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.4.1.1"><p id="EN-US_TOPIC_0000001811490777__p18918142318192"><strong id="EN-US_TOPIC_0000001811490777__b196490410643622">Column</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.4.1.2"><p id="EN-US_TOPIC_0000001811490777__p1291852316199">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.4.1.3"><p id="EN-US_TOPIC_0000001811490777__p17918223141912">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001811490777__row194811689194"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490777__p119185234192">OID</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490777__p1291822317193">OID</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490777__p13918923111911">OID of the view</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490777__row1029615504337"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490777__p1229785023319">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490777__p15297195012339">Name</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490777__p11297165033311">View space name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490777__row9481583195"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490777__p19191823181912">viewname</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490777__p13919132310196">Name</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490777__p3919172312199">Name of the view</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490777__row14571522143810"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490777__p85711422113811">viewowner</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490777__p1357152215382">Name</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490777__p1571822113814">Owner of the view</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490777__row184811787195"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490777__p39191623171913">definition</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490777__p6919723191912">Text</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490777__p2919123121914">Definition of the view</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490777__row16658127123917"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490777__p11659157113915">validtype</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490777__p56595763917">Text</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490777__p206591172397">View validity flag</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490777__row13151111514325"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490777__p3151201553213">last_invalid_time</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490777__p16151161573213">Timestamp with time zone</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490777__p1415171593212">Time when a view is invalid. This column is available only in clusters of version 9.1.0.200 or later.</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>