<?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 connect a database using wizard and save the table as a SAS dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-a-database-using-wizard-and-save-the-table-as-a/m-p/426179#M281234</link>
    <description>&lt;P&gt;Are you selecting File &amp;gt; Import Data and then working through there using a database as a source?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As one of the final steps it will ask if you want to save the code as Proc Import.&amp;nbsp; Do that and post it here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should look something like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT OUT= WORK.name_you_select 
            DATATABLE= "name of the table being imported" 
            DBMS=ACCESS REPLACE;
     DATABASE="J:\Drive D\source path to file\some database.mdb"; 
     SCANMEMO=YES;
     USEDATE=NO;
     SCANTIME=YES;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2018 17:46:47 GMT</pubDate>
    <dc:creator>HB</dc:creator>
    <dc:date>2018-01-09T17:46:47Z</dc:date>
    <item>
      <title>How to connect a database using wizard and save the table as a SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-a-database-using-wizard-and-save-the-table-as-a/m-p/426041#M281233</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am using SAS Desktop version, i can only connect to database using wizard every time. Can some one suggest me how can i save the database table pulled from wizard saved into SAS Dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need this urgently please can someone help me on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Vamsi&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 11:59:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-a-database-using-wizard-and-save-the-table-as-a/m-p/426041#M281233</guid>
      <dc:creator>msbrvamsi</dc:creator>
      <dc:date>2018-01-09T11:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect a database using wizard and save the table as a SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-a-database-using-wizard-and-save-the-table-as-a/m-p/426179#M281234</link>
      <description>&lt;P&gt;Are you selecting File &amp;gt; Import Data and then working through there using a database as a source?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As one of the final steps it will ask if you want to save the code as Proc Import.&amp;nbsp; Do that and post it here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should look something like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT OUT= WORK.name_you_select 
            DATATABLE= "name of the table being imported" 
            DBMS=ACCESS REPLACE;
     DATABASE="J:\Drive D\source path to file\some database.mdb"; 
     SCANMEMO=YES;
     USEDATE=NO;
     SCANTIME=YES;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 17:46:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-a-database-using-wizard-and-save-the-table-as-a/m-p/426179#M281234</guid>
      <dc:creator>HB</dc:creator>
      <dc:date>2018-01-09T17:46:47Z</dc:date>
    </item>
  </channel>
</rss>

