<?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: Export SAS table to sqlite3 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750365#M38979</link>
    <description>&lt;P&gt;You'll need SAS's SAS/ACCESS to ODBC product for&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13798"&gt;@AlanC&lt;/a&gt;&amp;nbsp;'s approach.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 00:47:17 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2021-06-25T00:47:17Z</dc:date>
    <item>
      <title>Export SAS table to sqlite3</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750150#M38970</link>
      <description>&lt;P&gt;I have a SAS table with 100 million rows, it's not efficient to export under csv format. Any chance sas can convert the table into sqlite3 (python) to be opened in Python?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 11:21:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750150#M38970</guid>
      <dc:creator>vietlinh12hoa</dc:creator>
      <dc:date>2021-06-24T11:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS table to sqlite3</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750158#M38971</link>
      <description>&lt;P&gt;I don't think that SAS provides a module for that particular format.&lt;/P&gt;
&lt;P&gt;But you can compress the csv on the fly to reduce space:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename class zip "/folders/myfolders/class.zip";

data _null_;
set sashelp.class;
file class(class.csv) dlm="," dsd;
if _n_ = 1 then put "name,sex,age,height,weight";
put name sex age height weight;
run;

filename class clear;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You will need to unpack it on the target server before reading it into the database.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 11:37:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750158#M38971</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-06-24T11:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS table to sqlite3</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750162#M38972</link>
      <description>&lt;P&gt;Googling using&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;EM&gt;site:documentation.sas.com&lt;/EM&gt; &lt;EM&gt;sqlite&lt;/EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;returns a few hits. Not sure if any will be helpful to you but suggest you find out for yourself.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 11:46:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750162#M38972</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2021-06-24T11:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS table to sqlite3</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750188#M38974</link>
      <description>&lt;P&gt;SQLITE supports odbc . You can download the driver from&amp;nbsp;&lt;A href="http://www.ch-werner.de/sqliteodbc/" target="_blank"&gt;http://www.ch-werner.de/sqliteodbc/&lt;/A&gt;&amp;nbsp;.&lt;BR /&gt;The documentation is here&amp;nbsp;&lt;A href="http://www.ch-werner.de/sqliteodbc/html/index.html" target="_blank"&gt;http://www.ch-werner.de/sqliteodbc/html/index.html&lt;/A&gt;&amp;nbsp;.&lt;BR /&gt;Please do update if&amp;nbsp; it has worked for you so that others may benefit.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 13:04:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750188#M38974</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-06-24T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS table to sqlite3</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750215#M38975</link>
      <description>&lt;P&gt;libname sqlite odbc complete="dsn=SQLite3 Datasource;Driver={SQLITE3 ODBC Driver};Database=e:\temp\IISHistoricalSample.db";&lt;/P&gt;
&lt;P&gt;libname temp 'e:\temp' ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data sqlite.Sample;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; set temp.All_iis_new (obs=100);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 14:19:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750215#M38975</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2021-06-24T14:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS table to sqlite3</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750216#M38976</link>
      <description>Also, Sqlite is not related to Python. It is a nice system because it is a single file database. For SAS data, if I recall correctly, I get an enormous savings in space vs a SAS dataset. It has its issues such as minimal typing (ex. no datetime).</description>
      <pubDate>Thu, 24 Jun 2021 14:21:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750216#M38976</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2021-06-24T14:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS table to sqlite3</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750365#M38979</link>
      <description>&lt;P&gt;You'll need SAS's SAS/ACCESS to ODBC product for&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13798"&gt;@AlanC&lt;/a&gt;&amp;nbsp;'s approach.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 00:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-SAS-table-to-sqlite3/m-p/750365#M38979</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-06-25T00:47:17Z</dc:date>
    </item>
  </channel>
</rss>

