forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
24 lines
3.1 KiB
HTML
24 lines
3.1 KiB
HTML
<a name="EN-US_TOPIC_0000002040194850"></a><a name="EN-US_TOPIC_0000002040194850"></a>
|
|
|
|
<h1 class="topictitle1">PURGE</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_p34201818182114">In Oracle, the <strong id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_b1625351654614">DROP TABLE</strong> statement moves a table to the recycle bin, allowing for potential recovery. In contrast, the <strong id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_b121821415477">PURGE</strong> statement permanently deletes a table or index from the recycle bin, releasing all associated space. It can also empty the entire recycle bin or permanently remove specific contents from a deleted tablespace.</p>
|
|
<p id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_en-us_topic_0238518388_en-us_topic_0237362504_en-us_topic_0202727129_p1775411820855">After migration using <strong id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_b1614115142484">Oracle</strong> syntax, the query does not include <strong id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_b12503181816483">PURGE</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_p176661343122316">The following examples illustrate the syntax changes for <strong id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_b5830152517486">PURGE</strong> before and after migration.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_section5357954183013"><h4 class="sectiontitle">Pre-migration</h4><div class="fignone" id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_en-us_topic_0238518388_en-us_topic_0237362504_en-us_topic_0202727129_fig18280308113916"><span class="figcap"><b>Figure 1 </b>Input: statement containing PURGE</span><br><span><img id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_en-us_topic_0238518388_en-us_topic_0237362504_en-us_topic_0202727129_image10187599111911" src="figure/en-us_image_0000001706105309.jpg" height="75.81" width="374.0625" title="Click to enlarge" class="imgResize"></span></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_section1947843983113"><h4 class="sectiontitle">Post-migration</h4><div class="fignone" id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_en-us_topic_0238518388_en-us_topic_0237362504_en-us_topic_0202727129_fig58171781103853"><span class="figcap"><b>Figure 2 </b>Output: statement without PURGE</span><br><span><img id="EN-US_TOPIC_0000002040194850__en-us_topic_0000001706224001_en-us_topic_0238518388_en-us_topic_0237362504_en-us_topic_0202727129_image4051394111940" src="figure/en-us_image_0000001657865874.jpg" height="76.8075" width="329.175" title="Click to enlarge" class="imgResize"></span></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_mt_0106.html">Schema Objects</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
image_size('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |