doc-exports/docs/dws/tool/DWS_DS_107.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

33 lines
5.5 KiB
HTML

<a name="EN-US_TOPIC_0000001233800647"></a><a name="EN-US_TOPIC_0000001233800647"></a>
<h1 class="topictitle1">Working with Sequences</h1>
<div id="body1584526252528"><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p34261215182512">You can perform the following operations on an existing sequence:</p>
<ul id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_ul13613163220405"><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li3613113204012"><a href="#EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section203211220143514">Granting/Revoking a Privilege</a></li><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li156135321408"><a href="#EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section108511114145313">Dropping a Sequence</a></li><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li85768033618"><a href="#EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section825210384315">Dropping a Sequence Cascade</a></li></ul>
<div class="section" id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section108511114145313"><a name="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section108511114145313"></a><a name="en-us_topic_0185264214_section108511114145313"></a><h4 class="sectiontitle">Dropping a Sequence</h4><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p10629348216">Individual or batch dropping can be performed on sequences. Refer to <a href="DWS_DS_133.html">Dropping a Batch of Objects</a> section for batch drop.</p>
<p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p7428151515254">Follow the steps to dropping a sequence:</p>
<ol id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_ol3428161518256"><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li154281415202518"><span>Right-click the selected sequence and select <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b3802903415461">Drop Sequence</strong>.</span><p><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p19429161562511">The <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b17835653154648">Drop Sequence</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li742921518255"><span>Click <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b8764073155018">Yes </strong>to drop the sequence.</span><p><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p070616315525">The status bar displays the status of the completed operation.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section825210384315"><a name="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section825210384315"></a><a name="en-us_topic_0185264214_section825210384315"></a><h4 class="sectiontitle">Dropping a Sequence Cascade</h4><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p124191029428">Follow the steps to drop a sequence cascade:</p>
<ol id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_ol9431171515259"><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li5431141519259"><span>Right-click the selected sequence and select <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b13588653193311">Drop Sequence Cascade</strong>.</span><p><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p15688165183312">The <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b9589185373315">Drop Sequence Cascade</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li1743211572510"><span>Click <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b159075373318">Yes </strong>to drop the sequence cascade.</span><p><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p19271547135211">The status bar displays the status of the completed operation.</p>
</p></li></ol>
<div class="note" id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_note1143163092814"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p458512112298">This is only available for OLAP, not for OLTP.</p>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section203211220143514"><a name="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section203211220143514"></a><a name="en-us_topic_0185264214_section203211220143514"></a><h4 class="sectiontitle">Granting/Revoking a Privilege</h4><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p1475910503142">Follow the steps to grant/revoke a privilege:</p>
<ol id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_ol54022224212"><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li222516181158"><span>Right-click selected sequence and select <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b22197393151114">Grant/Revoke</strong>.</span><p><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p1644714138418">The <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b31622189431">Grant/Revoke</strong> dialog is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li159635211409"><span>Refer to <a href="DWS_DS_106.html">Grant/Revoke Privilege</a> to grant/revoke a privilege.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_104.html">Sequences</a></div>
</div>
</div>