<?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: pushing sas dataset into SQL Server in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321429#M70973</link>
    <description>Have you looked at the PROC SQL examples in the online documentation?&lt;BR /&gt;</description>
    <pubDate>Wed, 28 Dec 2016 14:45:28 GMT</pubDate>
    <dc:creator>ccaulkins9</dc:creator>
    <dc:date>2016-12-28T14:45:28Z</dc:date>
    <item>
      <title>pushing sas dataset into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321426#M70972</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a sas data set. what I need to do is to push that dataset into SQL Server with new table name in SQL Server. can someone please help me in doing this ? it would be very helpful if someone provide the code for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't used sas before but I have access to SAS and also I have access to Read &amp;amp; write data in SQL Server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 14:18:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321426#M70972</guid>
      <dc:creator>VJ1</dc:creator>
      <dc:date>2016-12-28T14:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: pushing sas dataset into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321429#M70973</link>
      <description>Have you looked at the PROC SQL examples in the online documentation?&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Dec 2016 14:45:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321429#M70973</guid>
      <dc:creator>ccaulkins9</dc:creator>
      <dc:date>2016-12-28T14:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: pushing sas dataset into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321433#M70975</link>
      <description>&lt;P&gt;No I haven't looked those. what i am looking is to push the dataset into SQL server using sas. since I don't know SAS I am looking for SAS Code for this. can you provide that ?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 14:52:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321433#M70975</guid>
      <dc:creator>VJ1</dc:creator>
      <dc:date>2016-12-28T14:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: pushing sas dataset into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321439#M70980</link>
      <description>&lt;P&gt;proc sql is a sas procedure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data you want to store in the database is currently stored in sas datasets?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 15:59:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321439#M70980</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2016-12-28T15:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: pushing sas dataset into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321440#M70981</link>
      <description>&lt;P&gt;Set up a odbc connection to the server via control panel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/techsup/technote/ts765.pdf" target="_blank"&gt;https://support.sas.com/techsup/technote/ts765.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assign a libname to the server and then a simple dataset or proc datasets can be used to create the table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname sqlsrv odbc dsn=myserv schema=dbo;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data sqlsrv.data;&lt;/P&gt;
&lt;P&gt;set data;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 16:03:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321440#M70981</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-28T16:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: pushing sas dataset into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321441#M70982</link>
      <description>&lt;P&gt;VJ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know which version of&lt;/P&gt;
&lt;P&gt;- SAS Software you have?&lt;/P&gt;
&lt;P&gt;- Which SAS/ACCESS product you have (SAS/ACCESS to OLE DB/ODBC)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have answered the above two questions, then you can find sample code in the relavant documentation here&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/onlinedoc/access/index.html" target="_self"&gt;SAS/ACCESS&lt;/A&gt; 9.x for Relational Databases: Reference,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: There are no single code that works for all databases, therefore you shouldn't count on someone to provide you a working code for your database! Read the doc and adopt the code to your settings and environment.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 16:15:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/pushing-sas-dataset-into-SQL-Server/m-p/321441#M70982</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2016-12-28T16:15:51Z</dc:date>
    </item>
  </channel>
</rss>

