doc-exports/docs/dws/tool/DWS_DS_111.html
Lu, Huayi 346ac31da9 DWS TG 8.1.3.200 VERSION
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-08-28 09:20:17 +00:00

126 lines
22 KiB
HTML

<a name="EN-US_TOPIC_0000001233800703"></a><a name="EN-US_TOPIC_0000001233800703"></a>
<h1 class="topictitle1">Working with Views</h1>
<div id="body32001227"><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p5051941">Views can be created to restrict access to specific rows or columns of a table. A view can be created from one or more tables and is determined by the query used to create the view.</p>
<p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p45467475">You can perform the following operations on an existing view:</p>
<ul id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ul195985379175"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li6597103716174"><a href="#EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section1062545514243">Exporting the View DDL</a></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li259873761714"><a href="#EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section2626755202419">Dropping a View</a></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li259803713175"><a href="#EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section8627185518244">Dropping a View Cascade</a></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li2598837161713"><a href="#EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section3628195562418">Renaming a View</a></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li2598173791719"><a href="#EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section5630655122413">Setting the Schema for a View</a></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li1859863712175"><a href="#EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section156311655172418">Viewing the Show DDL</a></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li14598113713178"><a href="#EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section1363213551240">Setting the Default Value for the View Column</a></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li13479115713611"><a href="#EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section230303218508">Viewing the Properties of a View</a></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li1156914517404"><a href="#EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section203211220143514">Granting/Revoking a Privilege</a></li></ul>
<div class="section" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section1062545514243"><a name="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section1062545514243"></a><a name="en-us_topic_0185264932_section1062545514243"></a><h4 class="sectiontitle">Exporting the View DDL</h4><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p3466944">Follow the steps below to export view the DDL:</p>
<ol id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ol31202498"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li12387033"><span>Right-click the selected view and select <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b2194257721334">Export DDL</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p2492297">The<strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b136443822"> Data Studio Security Disclaimer</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li549487"><span>Click <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b51284160141445">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p5076155115128">The <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b12217297141515">Save As</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li66448310"><span>In the <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b30730045221922">Save As</strong> dialog box, select the location to save the DDL and click <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b8134957221922">Save</strong>. The status bar displays the progress of the operation.</span><p><div class="note" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_note21406504181738"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ul186371934111913"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li063717348197">To cancel the export operation, double-click the status to open the <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b12681626181220">Progress View</strong> tab and click <span><img id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_image168726171213" src="figure/en-us_image_0000001188202722.jpg"></span>.</li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li1163723441910">The exported file name will not be the same as the view name, if the view name contains characters which are not supported by Windows.</li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li1028111275476">Multiple objects can be selected to export the view DDL. Refer to <a href="DWS_DS_155.html#EN-US_TOPIC_0000001188681066__en-us_topic_0185264547_li1037472864716">Batch Export</a> for the list of the objects that are not supported for exporting view DDL.</li></ul>
</div></div>
<p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p9734844">The <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b43399395221323">Export</strong> message and status bar display the status of the completed operation.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_table20789124652911" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_row485915510434"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.3.3.2.3.1.4.1.1"><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p18658615191019"><strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b139756171020">Database Encoding</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.3.3.2.3.1.4.1.2"><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p13658131510105"><strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b697713177014">File Encoding</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.3.3.2.3.1.4.1.3"><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p1765821511101"><strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b697815176020">Supports Exporting DDL</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_row42393384455"><td class="cellrowborder" rowspan="3" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p11711124110594">UTF-8</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p6562114412591">UTF-8</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.3.1.4.1.3 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p946516361597">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_row035373412456"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p15452183425919">GBK</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p94521734115915">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_row20568193017451"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p19402632145916">LATIN1</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p840219321599">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_row108601655164315"><td class="cellrowborder" rowspan="3" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p1786055514318">GBK</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p1786035594320">GBK</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.3.1.4.1.3 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p286045515433">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_row323083718465"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p56301514407">UTF-8</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p126309145015">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_row5522164184613"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p9594317608">LATIN1</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p5594117608">No</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_row12137194414441"><td class="cellrowborder" rowspan="3" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p11259163610455">LATIN1</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p172591836204513">LATIN1</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.3.3.2.3.1.4.1.3 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p12591636124510">Yes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_row17032374813"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p5372545915">GBK</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p13721745310">No</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_row184363274489"><td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p1278394715113">UTF-8</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.3.3.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p1578310471818">Yes</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section2626755202419"><a name="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section2626755202419"></a><a name="en-us_topic_0185264932_section2626755202419"></a><h4 class="sectiontitle">Dropping a View</h4><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p153381361210">Individual or batch dropping can be performed on views. Refer to <a href="DWS_DS_133.html">Dropping a Batch of Objects</a> for batch dropping.</p>
<p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p45414681">Follow the steps below to drop the view:</p>
<ol id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ol6078946"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li54710514"><span>Right-click the selected view and select <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b3802903415461">Drop View</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p57477797">The <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b17835653154648">Drop View</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li27121466"><span>Click <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b8764073155018">Yes </strong>to drop the view.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p11956752135517">The status bar displays the status of the completed operation.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section8627185518244"><a name="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section8627185518244"></a><a name="en-us_topic_0185264932_section8627185518244"></a><h4 class="sectiontitle">Dropping a View Cascade</h4><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p41543166">Follow the steps below to drop a view and its dependent database objects:</p>
<ol id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ol38344177"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li9553281"><span>Right-click the selected view and select <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b49002845155449">Drop View Cascade</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p66510437">The <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b6598723155230">Drop View</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li33146107"><span>Click <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b9005155155230">Yes </strong>to drop the view and its dependent database objects.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p151173465614">The status bar displays the status of the completed operation.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section3628195562418"><a name="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section3628195562418"></a><a name="en-us_topic_0185264932_section3628195562418"></a><h4 class="sectiontitle">Renaming a View</h4><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p4321123">Follow the steps below to rename a view:</p>
<ol id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ol38890115"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li14466715"><span>Right-click the selected view and select <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b23846349155956">Rename View</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p24185379">The <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b43024693155754">Rename View</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li34921133"><span>Enter the required name for the view and click <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b4685972115593">OK</strong>. You can view the renamed view in the <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b201014155935">Object Browser</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p129241653105613">The status bar displays the status of the completed operation.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section5630655122413"><a name="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section5630655122413"></a><a name="en-us_topic_0185264932_section5630655122413"></a><h4 class="sectiontitle">Setting the Schema for a View</h4><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p7897978">Follow the steps below to set the schema for a view:</p>
<ol id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ol3972940"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li35756461"><span>Right-click the selected view and select <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b19588749174332">Set Schema</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p52661876">The <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b26278448173131">Set Schema </strong>dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li38139549"><span>Select the required schema from the drop-down list and click <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b55337012174119">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p129532513576">The status bar displays the status of the completed operation.</p>
<p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p2295787">If the required schema contains a view with the same name as the current view, then Data Studio does not allow setting the schema for the view.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section156311655172418"><a name="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section156311655172418"></a><a name="en-us_topic_0185264932_section156311655172418"></a><h4 class="sectiontitle">Viewing the DDL</h4><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p51741033">Follow the steps below to view the DDL of the view:</p>
<ol id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ol63016113"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li30274111"><span>Right-click the selected view and select <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b125321925811">Show DDL</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p19355116195214">The DDL is displayed in a new <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b63228693174527">SQL Terminal </strong>tab. You must refresh the <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b49940868201250">Object Browser</strong> to view the latest DDL.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section1363213551240"><a name="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section1363213551240"></a><a name="en-us_topic_0185264932_section1363213551240"></a><h4 class="sectiontitle">Setting the Default Value for the View Column</h4><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p30652703">Follow the steps below to set the default value for a column in the view:</p>
<ol id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ol7438871"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li66949839"><span>Right-click the selected column name under the view and select <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b1116026722147">Set View Column Default Value</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p30379836">A dialog box with the current default value (if it is set) is displayed which prompts you to provide the default value.</p>
</p></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li1612919712"><span>Enter the value and click <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b3151895517127">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p758412419717">Data Studio displays the status of the operation in the status bar<strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b189731015105219"></strong>.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section230303218508"><a name="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section230303218508"></a><a name="en-us_topic_0185264932_section230303218508"></a><h4 class="sectiontitle">Viewing the Properties of a View</h4><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p03036325500">Follow the steps below to view the properties of the View:</p>
<ol id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ol11503134475217"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li550314475216"><span>Right-click the selected View and select <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b1155717491881">Properties</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p36081152105214">The properties (General and Columns) of the selected View is displayed in different tabs.</p>
<div class="note" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_note112853563414"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p1270635785213">If the property of a View is modified that is already opened, then refresh and open the properties of the View again to view the updated information on the same opened window.</p>
</div></div>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section203211220143514"><a name="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_section203211220143514"></a><a name="en-us_topic_0185264932_section203211220143514"></a><h4 class="sectiontitle">Granting/Revoking a Privilege</h4><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p1475910503142">Follow the steps below to grant/revoke a privilege:</p>
<ol id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_ol54022224212"><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li222516181158"><span>Right-click the selected view and select <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b22197393151114">Grant/Revoke</strong>.</span><p><p id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_p1644714138418">The <strong id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_b17399105507">Grant/Revoke</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800703__en-us_topic_0185264932_li159635211409"><span>Refer to <a href="DWS_DS_110.html">Granting/Revoking a Privilege</a> to grant/revoke privilege.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_108.html">Views</a></div>
</div>
</div>