<?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 Macro to extract data from Oracle in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133706#M27159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;I have a sas data set with 1 million rows. I need to join to oracle tables but, because of oracle 1000 rows limitation on join condition I wasn’t able to extract the information from oracle. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;I tried loading it into oracle temp table and do the join inside oracle. However, it takes a lot of time to load the table. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;Does anyone has any suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt; Or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;Has a macro to submit 1000 rows one by one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;Thanks for your time in advance. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 May 2013 19:42:51 GMT</pubDate>
    <dc:creator>zqkal</dc:creator>
    <dc:date>2013-05-10T19:42:51Z</dc:date>
    <item>
      <title>Macro to extract data from Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133706#M27159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;I have a sas data set with 1 million rows. I need to join to oracle tables but, because of oracle 1000 rows limitation on join condition I wasn’t able to extract the information from oracle. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;I tried loading it into oracle temp table and do the join inside oracle. However, it takes a lot of time to load the table. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;Does anyone has any suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt; Or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;Has a macro to submit 1000 rows one by one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;Thanks for your time in advance. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 19:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133706#M27159</guid>
      <dc:creator>zqkal</dc:creator>
      <dc:date>2013-05-10T19:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to extract data from Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133707#M27160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The oracle limitation is over 1000 columns not rows, can you clarify what you're trying to do. It would be better to not have 1000 columns in general.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 19:48:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133707#M27160</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-05-10T19:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to extract data from Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133708#M27161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reeza, I'm trying to join SAS table with 1 million rows to Oracle table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 20:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133708#M27161</guid>
      <dc:creator>zqkal</dc:creator>
      <dc:date>2013-05-10T20:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to extract data from Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133709#M27162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is that to join information between sas tables and a server SAS has to bring all the information in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on what you're trying to do, using a format, a hash table or uploading the table are options. You can search on here, some people have suggest bulkupload options that are faster but I don't know much about that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 22:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133709#M27162</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-05-10T22:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to extract data from Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133710#M27163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try libname's option&amp;nbsp; readbuffer=1000&amp;nbsp; to speed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2013 02:51:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133710#M27163</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2013-05-11T02:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to extract data from Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133711#M27164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many rows are in your Oracle table? How long does it take to upload your SAS table to Oracle?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been able to speed up the loading of Oracle tables by tweaking the INSERTBUFF and DBCOMMIT options (have a look at the documentation for these). You will need to experiment to get the optimal values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname upload oracle user=testuser password=testpass path='voyager' dbcommit=10000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data upload.sastable;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set sastable;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bulkloading should do it even faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 May 2013 23:10:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133711#M27164</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-05-12T23:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to extract data from Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133712#M27165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for your suggestions. I was able to upload the sas data set using DBLOAD faster.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 16:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-extract-data-from-Oracle/m-p/133712#M27165</guid>
      <dc:creator>zqkal</dc:creator>
      <dc:date>2013-05-17T16:40:56Z</dc:date>
    </item>
  </channel>
</rss>

