<?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: SAS University Edition: Can I access data in an MS SQL Server database? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159467#M263178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't work in Linux but here are a couple of things that I found were important for gaining access to an Oracle database on our network. I needed whatever an ODBC driver installed which I later modified to specifications of the database. I had to have Oracle Client installed which is free. You can go to their website and get whatever version you need. Your IT would know which one you would need and they should be able to help you with all of this. Once I got the client I had to update the file called tsnames.ora. I had to change things like the server name, port, and some other stuff based on input from our IT department. My ODBC drivers reflect the information in tsnames.ora and the SAS code I use which looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;connect to odbc (dsn='xxxxx' uid=xxxxx pwd='xxxxxxxx'); &lt;/P&gt;&lt;P&gt;create table tablexxxxxx as select * from connection to odbc (select * from ext.tablename);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally I suspect you'll need a TCP/IP connection to the server where the data are located. You need IT support for this I would think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this might help. No guarantees &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jun 2014 16:20:38 GMT</pubDate>
    <dc:creator>kodmfl</dc:creator>
    <dc:date>2014-06-28T16:20:38Z</dc:date>
    <item>
      <title>SAS University Edition: Can I access data in an MS SQL Server database?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159466#M263177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just started kicking the wheels of the university edition. My notebook is running SAS UE in an Oracle Vitualbox hosted environment, and MS Sql-Server.&lt;/P&gt;&lt;P&gt;I'd like to access the database - is this possible with the University Edition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found and tried some Library statements, but I get an error about a missing odbc library module on the Linux side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2014 06:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159466#M263177</guid>
      <dc:creator>john678321</dc:creator>
      <dc:date>2014-06-28T06:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS University Edition: Can I access data in an MS SQL Server database?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159467#M263178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't work in Linux but here are a couple of things that I found were important for gaining access to an Oracle database on our network. I needed whatever an ODBC driver installed which I later modified to specifications of the database. I had to have Oracle Client installed which is free. You can go to their website and get whatever version you need. Your IT would know which one you would need and they should be able to help you with all of this. Once I got the client I had to update the file called tsnames.ora. I had to change things like the server name, port, and some other stuff based on input from our IT department. My ODBC drivers reflect the information in tsnames.ora and the SAS code I use which looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;connect to odbc (dsn='xxxxx' uid=xxxxx pwd='xxxxxxxx'); &lt;/P&gt;&lt;P&gt;create table tablexxxxxx as select * from connection to odbc (select * from ext.tablename);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally I suspect you'll need a TCP/IP connection to the server where the data are located. You need IT support for this I would think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this might help. No guarantees &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2014 16:20:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159467#M263178</guid>
      <dc:creator>kodmfl</dc:creator>
      <dc:date>2014-06-28T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS University Edition: Can I access data in an MS SQL Server database?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159468#M263179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I believe that the University Edition comes with SAS/Access to PC Files, per the key features shown on page 4 of this product information sheet:&lt;A href="http://www.sas.com/content/dam/SAS/en_us/doc/factsheet/sas-university-edition-107140.pdf" title="http://www.sas.com/content/dam/SAS/en_us/doc/factsheet/sas-university-edition-107140.pdf"&gt;http://www.sas.com/content/dam/SAS/en_us/doc/factsheet/sas-university-edition-107140.pdf&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I think that to use PROC SQL and a connection to ODBC you need SAS/Access to ODBC, as shown here in the Tech Support note about the System Requirements for using SAS/Access to ODBC &lt;A href="http://support.sas.com/kb/11/077.html" title="http://support.sas.com/kb/11/077.html"&gt;11077 - System Requirements for SAS/ACCESS to ODBC for SAS 9.1 on Windows64-bit platform&lt;/A&gt;. I do not think the University Edition comes with SAS/Access to ODBC -- it's not listed on the product fact sheet. You might have to investigate other ways of getting to your MS-Sql Server data, such as exporting the data from MS-Sql to one of the listed file types that can be easily read with SAS/Access to PC Files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2014 20:33:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159468#M263179</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-06-28T20:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS University Edition: Can I access data in an MS SQL Server database?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159469#M263180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia thanks for updating John, I wasn't aware of the limitation you mentioned in the University Edition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2014 21:26:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159469#M263180</guid>
      <dc:creator>kodmfl</dc:creator>
      <dc:date>2014-06-28T21:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS University Edition: Can I access data in an MS SQL Server database?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159470#M263181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect that you are correct, that is, University Edition does not support ODBC data sources. That's unfortunate for me, because my test data is in MS SQL-Server. I could export it to a spreadsheet, but that is inconvenient, onerous and doesn't help me build skills required for corporate environments. Still it's offered for free, so I'll have to accept the situations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jun 2014 01:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/159470#M263181</guid>
      <dc:creator>john678321</dc:creator>
      <dc:date>2014-06-29T01:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS University Edition: Can I access data in an MS SQL Server database?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/601275#M263182</link>
      <description>I have the same sentiment here... but I think one should bear in mind what SAS University Edition is intended for.&lt;BR /&gt;It is an awesome program (as I am sure we all here in the community know full well) and they need to make sure that University Edition is not used for corporate gain. My take on it is, that as soon as as you have a SQL server running, then it is a very strong indicator that you are in a corporate environment and should not be using University Edition.&lt;BR /&gt;But yes, I too have SQL running on my local machine so that I can practice and hone my skills. And it is unfortunate that you can't connect SAS University Edition to it... but I feel there is a good enough reason for it.&lt;BR /&gt;&lt;BR /&gt;Just my 2c worth.</description>
      <pubDate>Mon, 04 Nov 2019 00:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-University-Edition-Can-I-access-data-in-an-MS-SQL-Server/m-p/601275#M263182</guid>
      <dc:creator>GenDemo</dc:creator>
      <dc:date>2019-11-04T00:08:21Z</dc:date>
    </item>
  </channel>
</rss>

