<?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 Load odbc temp table with sas dataset in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Load-odbc-temp-table-with-sas-dataset/m-p/111574#M30929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I use a libname statement to connect to an&amp;nbsp; odbc .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname mycc odbc datasrc=myodbc user=myuser password= mypassword;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next i create a temp table in the odbc server using a sas dataset&lt;/P&gt;&lt;P&gt;slow...&lt;/P&gt;&lt;P&gt;poc sql;&lt;/P&gt;&lt;P&gt;create table mycc.'#table1'n&amp;nbsp; as select customer_id from work.sas_table; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The poblem i face is that odbc temp table gets loaded at a speed of 1000 rows a minute.. which is too slow..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions on how i could increase the loading speed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2012 18:48:45 GMT</pubDate>
    <dc:creator>NN</dc:creator>
    <dc:date>2012-09-04T18:48:45Z</dc:date>
    <item>
      <title>Load odbc temp table with sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Load-odbc-temp-table-with-sas-dataset/m-p/111574#M30929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I use a libname statement to connect to an&amp;nbsp; odbc .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname mycc odbc datasrc=myodbc user=myuser password= mypassword;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next i create a temp table in the odbc server using a sas dataset&lt;/P&gt;&lt;P&gt;slow...&lt;/P&gt;&lt;P&gt;poc sql;&lt;/P&gt;&lt;P&gt;create table mycc.'#table1'n&amp;nbsp; as select customer_id from work.sas_table; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The poblem i face is that odbc temp table gets loaded at a speed of 1000 rows a minute.. which is too slow..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions on how i could increase the loading speed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 18:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Load-odbc-temp-table-with-sas-dataset/m-p/111574#M30929</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2012-09-04T18:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Load odbc temp table with sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Load-odbc-temp-table-with-sas-dataset/m-p/111575#M30930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding the INSERTBUFF = option to your LIBNAME. The default value for ODBC is only 1 according to the documentation, that is one row at a time. You may have to experiment to get the optimal value, but I suggest you try values like&amp;nbsp; 500 or 1000. You may also be restrained by the DBCOMMIT = option where usually the default is 1000. Setting this to 0 means only one commit is made at the end of the load, and this may well help also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 19:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Load-odbc-temp-table-with-sas-dataset/m-p/111575#M30930</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2012-09-04T19:58:40Z</dc:date>
    </item>
  </channel>
</rss>

