<?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: How to import .bak file? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417084#M280315</link>
    <description>&lt;P&gt;If you don't want to use a direct connection with SAS/ACCESS (to RDBMS or via ODBC), then you are better off by exporting from SQL Server to a text-based format like csv, and reading with a data step.&lt;/P&gt;
&lt;P&gt;Parsing a proprietary format will be very hard, if possible at all.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2017 15:25:09 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-11-29T15:25:09Z</dc:date>
    <item>
      <title>How to import a .bak file of SQL Server to SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417040#M280311</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;Is there any way to import a .bak file of SQL Server into SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:22:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417040#M280311</guid>
      <dc:creator>aminkarimid</dc:creator>
      <dc:date>2017-11-29T15:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to import .bak file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417044#M280312</link>
      <description>&lt;P&gt;.bak files are often automatically created backups when a file is changed, so it is necessary to know how the orignal file is structured or what type it is. Then you'll know if you can use proc import or if you can write a data step according to the specifications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://en.wikipedia.org/wiki/Bak_file" target="_blank"&gt;https://en.wikipedia.org/wiki/Bak_file&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 13:44:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417044#M280312</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-29T13:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to import .bak file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417066#M280313</link>
      <description>&lt;P&gt;I might be wrong, but I didn't know SAS created .bak files of any kind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is/was the file originally? Has someone changed the extension as part of a backup routine, or is this a file created by a SAS utility as part&amp;nbsp;of an underlying backup routine?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 14:43:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417066#M280313</guid>
      <dc:creator>DanLees</dc:creator>
      <dc:date>2017-11-29T14:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to import .bak file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417079#M280314</link>
      <description>This is a data base which is backed up from SQL server. DBMS has some advantages than file system (like decreased size). Python can read it directly without converting.</description>
      <pubDate>Wed, 29 Nov 2017 15:19:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417079#M280314</guid>
      <dc:creator>aminkarimid</dc:creator>
      <dc:date>2017-11-29T15:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to import .bak file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417084#M280315</link>
      <description>&lt;P&gt;If you don't want to use a direct connection with SAS/ACCESS (to RDBMS or via ODBC), then you are better off by exporting from SQL Server to a text-based format like csv, and reading with a data step.&lt;/P&gt;
&lt;P&gt;Parsing a proprietary format will be very hard, if possible at all.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:25:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417084#M280315</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-29T15:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to import .bak file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417105#M280316</link>
      <description>&lt;P&gt;IIRC it's usually a txt file that has the code to create the data set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open it as a text file using your favorite text editor (NotePad++&amp;nbsp; etc).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code usually doesn't won't translate directly into SAS but the conversion to SAS SQL should be relatively straightforward.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;Python can read it directly without converting.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;You can use Python within SAS Viya so that's another option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:51:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-bak-file-of-SQL-Server-to-SAS/m-p/417105#M280316</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-29T15:51:28Z</dc:date>
    </item>
  </channel>
</rss>

