<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Deleting Oracle Tables from SAS- Most Efficient Method in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Deleting-Oracle-Tables-from-SAS-Most-Efficient-Method/m-p/232853#M42455</link>
    <description>&lt;P&gt;Do&amp;nbsp;you want to delete tables, or rows in tables?&lt;/P&gt;
&lt;P&gt;If you have&amp;nbsp;the appropriate rights, drop table would work, can't see if you can optimize that.&lt;/P&gt;
&lt;P&gt;If you want to delete rows effectively, that's more of an Oracle DBA question. Once you know the Oracle syntax, you might want to discover of you can&amp;nbsp;achieve that using implicit SQL pass-thru from SAS.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Nov 2015 07:08:21 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2015-11-03T07:08:21Z</dc:date>
    <item>
      <title>Deleting Oracle Tables from SAS- Most Efficient Method</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Deleting-Oracle-Tables-from-SAS-Most-Efficient-Method/m-p/232763#M42431</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;Need some advice on which type of methods can be used to efficiently and quickly delete a couple million rows in Oracle from SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some errors see during the course of action below.&lt;/P&gt;
&lt;P&gt;Error received on SAS - “&lt;EM&gt;ERROR: Update/delete failed. The observation may have been changed or deleted since the time it was read. ORACLE execute error: &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ORA-08177: can't serialize access for this transaction.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ERROR: ROLLBACK issued due to errors for data set&amp;nbsp;XYZ&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;NOTE: Deletes were rolled back by the DBMS software.”&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 16:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Deleting-Oracle-Tables-from-SAS-Most-Efficient-Method/m-p/232763#M42431</guid>
      <dc:creator>tommy81</dc:creator>
      <dc:date>2015-11-02T16:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Oracle Tables from SAS- Most Efficient Method</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Deleting-Oracle-Tables-from-SAS-Most-Efficient-Method/m-p/232766#M42432</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use a Proc SQL:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc sql;&lt;/P&gt;
&lt;P&gt;connect to oracle(user=yourusername pass=yourpass path=bd);&lt;/P&gt;
&lt;P&gt;execute (truncate table yourtable)&lt;/P&gt;
&lt;P&gt;by oracle;&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Laurent&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 16:40:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Deleting-Oracle-Tables-from-SAS-Most-Efficient-Method/m-p/232766#M42432</guid>
      <dc:creator>tlk</dc:creator>
      <dc:date>2015-11-02T16:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Oracle Tables from SAS- Most Efficient Method</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Deleting-Oracle-Tables-from-SAS-Most-Efficient-Method/m-p/232853#M42455</link>
      <description>&lt;P&gt;Do&amp;nbsp;you want to delete tables, or rows in tables?&lt;/P&gt;
&lt;P&gt;If you have&amp;nbsp;the appropriate rights, drop table would work, can't see if you can optimize that.&lt;/P&gt;
&lt;P&gt;If you want to delete rows effectively, that's more of an Oracle DBA question. Once you know the Oracle syntax, you might want to discover of you can&amp;nbsp;achieve that using implicit SQL pass-thru from SAS.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 07:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Deleting-Oracle-Tables-from-SAS-Most-Efficient-Method/m-p/232853#M42455</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-11-03T07:08:21Z</dc:date>
    </item>
  </channel>
</rss>

