doc-exports/docs/dws/dev/dws_06_0202.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
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>
2024-05-16 07:24:04 +00:00

36 lines
4.3 KiB
HTML

<a name="EN-US_TOPIC_0000001233628561"></a><a name="EN-US_TOPIC_0000001233628561"></a>
<h1 class="topictitle1">DROP RESOURCE POOL</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001233628561__sbab8622170da420ca3fef8ed6d6ec6c1"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001233628561__a9ee718fa615541feb08cda3d2d00335f"><strong id="EN-US_TOPIC_0000001233628561__b842352706194238">DROP RESOURCE POOL</strong> deletes a resource pool.</p>
<div class="note" id="EN-US_TOPIC_0000001233628561__ne293338bfada4a8786b1d7ca4d1d8784"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233628561__p9563518103617">If a role has been associated with a resource pool, the resource pool cannot be deleted.</p>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233628561__s90e34341042b4374b2364f482e1203f9"><h4 class="sectiontitle">Precautions</h4><p id="EN-US_TOPIC_0000001233628561__a6b5078889f314876a12c5d55c444e36c">The user must have the DROP permission in order to delete a resource pool.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001233628561__s6287354178bb4bdf822f040e915b981c"><h4 class="sectiontitle">Syntax</h4><div class="codecoloring" codetype="Sql" id="EN-US_TOPIC_0000001233628561__sdab6baa69b4b48b58bd0d7b48087f74b"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span></pre></div></td><td class="code"><div><pre><span></span><span class="k">DROP</span><span class="w"> </span><span class="n">RESOURCE</span><span class="w"> </span><span class="n">POOL</span><span class="w"> </span><span class="p">[</span><span class="w"> </span><span class="k">IF</span><span class="w"> </span><span class="k">EXISTS</span><span class="w"> </span><span class="p">]</span><span class="w"> </span><span class="n">pool_name</span><span class="p">;</span>
</pre></div></td></tr></table></div>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233628561__sa49a51ff1c524b79a2e2587702def900"><h4 class="sectiontitle">Parameter Description</h4><ul id="EN-US_TOPIC_0000001233628561__u63ec5ab30f6a46cc8ec6dca957f96674"><li id="EN-US_TOPIC_0000001233628561__l851ae20713b14f009a8fdc6615b081cc"><strong id="EN-US_TOPIC_0000001233628561__a38bc12c221be40f39ced01f097b1ab0a">IF EXISTS</strong><p id="EN-US_TOPIC_0000001233628561__ae3c14d03586f4454967edac44cb8e98b">Sends a notice instead of an error if the stored procedure does not exist. </p>
</li></ul>
</div>
<ul id="EN-US_TOPIC_0000001233628561__u4e7a4a3b60524b099e6800171fed6c33"><li id="EN-US_TOPIC_0000001233628561__ld348e6e53a0a4797b5f93309d6ade4ec"><strong id="EN-US_TOPIC_0000001233628561__a0f239e3d055b416c9ea1356936494710">pool_name</strong><p id="EN-US_TOPIC_0000001233628561__a536f0f2bfe9c4542a5c346ac85fa7e1d">Specifies the name of a created resource pool.</p>
<p id="EN-US_TOPIC_0000001233628561__a935a03b4b0bc4625845aa956932fd111">Value range: a string. It must comply with the naming convention.</p>
</li></ul>
<div class="section" id="EN-US_TOPIC_0000001233628561__se869251faa694e3591ee5ef8c3428d75"><h4 class="sectiontitle">Example</h4><p id="EN-US_TOPIC_0000001233628561__p197511035287">Delete the resource pool named <strong id="EN-US_TOPIC_0000001233628561__b164121432142913">pool</strong>:</p>
<div class="codecoloring" codetype="Sql" id="EN-US_TOPIC_0000001233628561__screen8679191669"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span></pre></div></td><td class="code"><div><pre><span></span><span class="k">DROP</span><span class="w"> </span><span class="n">RESOURCE</span><span class="w"> </span><span class="n">POOL</span><span class="w"> </span><span class="n">pool</span><span class="p">;</span>
</pre></div></td></tr></table></div>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233628561__s7416b65b6ca642c5951a7ff49a7af4cd"><h4 class="sectiontitle">Links</h4><p id="EN-US_TOPIC_0000001233628561__a583aad7b113b4f019bf7fdebb8f4953d"><a href="dws_06_0133.html">ALTER RESOURCE POOL</a>, <a href="dws_06_0171.html">CREATE RESOURCE POOL</a></p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_06_0118.html">DDL Syntax</a></div>
</div>
</div>