<?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: data from SQL db to SAS in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/235850#M6035</link>
    <description>&lt;P&gt;Another option....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) connect to your SQL database within your SAS program using the loginid &amp;amp; password defined in a LIBNAME statement&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) all the SQL tables can be read as SAS files and set using SET statements using the structure "libref.filename". &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, instead of step 2), you can also use a proc sql to create a SAS file from "CREATE TABLE " syntax reading the SQL Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either one should bring you the data.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Nov 2015 12:57:19 GMT</pubDate>
    <dc:creator>kannand</dc:creator>
    <dc:date>2015-11-21T12:57:19Z</dc:date>
    <item>
      <title>data from SQL db to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/235844#M6033</link>
      <description>&lt;P&gt;Hi can anybody help me to finish my thesis please? I need to import data from SQL server to SAS and I´m so bad at it &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thx for any help!&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2015 10:08:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/235844#M6033</guid>
      <dc:creator>sobol007</dc:creator>
      <dc:date>2015-11-21T10:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: data from SQL db to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/235845#M6034</link>
      <description>&lt;P&gt;The simplest method is to unload your SQL tables into files with a textual format (CSV or fixed column) and then use a proper data step to import the data into SAS.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2015 10:45:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/235845#M6034</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-11-21T10:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: data from SQL db to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/235850#M6035</link>
      <description>&lt;P&gt;Another option....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) connect to your SQL database within your SAS program using the loginid &amp;amp; password defined in a LIBNAME statement&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) all the SQL tables can be read as SAS files and set using SET statements using the structure "libref.filename". &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, instead of step 2), you can also use a proc sql to create a SAS file from "CREATE TABLE " syntax reading the SQL Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either one should bring you the data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2015 12:57:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/235850#M6035</guid>
      <dc:creator>kannand</dc:creator>
      <dc:date>2015-11-21T12:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: data from SQL db to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/235871#M6036</link>
      <description>&lt;P&gt;What does your environment look like?&lt;/P&gt;
&lt;P&gt;Are you able to connect to the SQL server via SAS at all - and have you done this before meaning is the environment already set-up?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the environment is already set-up and there is a libname statement pointing to the SQL server then you can use tables in the database for reading as if they were SAS tables.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2015 23:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/235871#M6036</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-11-21T23:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: data from SQL db to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/236069#M6057</link>
      <description>&lt;P&gt;thx for all response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It can be that the problem is in connection between my SAS acount (at the school) and SQL db. I simplican not to connect to the server.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 19:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/236069#M6057</guid>
      <dc:creator>sobol007</dc:creator>
      <dc:date>2015-11-23T19:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: data from SQL db to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/236085#M6058</link>
      <description>&lt;P&gt;Someone at your school will be looking after the SAS installation. Try to find this SAS Admin and get some support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 20:27:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/data-from-SQL-db-to-SAS/m-p/236085#M6058</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-11-23T20:27:27Z</dc:date>
    </item>
  </channel>
</rss>

