<?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 Connecting to MS SQL Server in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537182#M147681</link>
    <description>&lt;P&gt;I am trying to connect to MS SQL server 2014. I found that I need odbc connection. So I tried to set this up, but faced this kind of problem.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image_2.1.PNG" style="width: 576px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27315i52133E35BAB1DF0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_2.1.PNG" alt="image_2.1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My windows account is entirely authorized for the database at the moment, but still not working.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I want to figure out how to resolve this.&lt;/LI&gt;&lt;LI&gt;I would glad to hear if there is another way to connect SAS to MS sql server.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Wed, 20 Feb 2019 20:21:45 GMT</pubDate>
    <dc:creator>monona</dc:creator>
    <dc:date>2019-02-20T20:21:45Z</dc:date>
    <item>
      <title>Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537182#M147681</link>
      <description>&lt;P&gt;I am trying to connect to MS SQL server 2014. I found that I need odbc connection. So I tried to set this up, but faced this kind of problem.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image_2.1.PNG" style="width: 576px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27315i52133E35BAB1DF0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_2.1.PNG" alt="image_2.1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My windows account is entirely authorized for the database at the moment, but still not working.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I want to figure out how to resolve this.&lt;/LI&gt;&lt;LI&gt;I would glad to hear if there is another way to connect SAS to MS sql server.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 20 Feb 2019 20:21:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537182#M147681</guid>
      <dc:creator>monona</dc:creator>
      <dc:date>2019-02-20T20:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537192#M147686</link>
      <description>&lt;P&gt;That's not a SAS issue, that's something you need to talk to your IT team. Once you have the DSN set up on your computer, then getting access within SAS is relatively easy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname myData odbc dsn=dsnName schema=dbo;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Perhaps your DB doesn't allow for single sign on, did you try signing in manually?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/214996"&gt;@monona&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am trying to connect to MS SQL server 2014. I found that I need odbc connection. So I tried to set this up, but faced this kind of problem.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image_2.1.PNG" style="width: 576px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27315i52133E35BAB1DF0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_2.1.PNG" alt="image_2.1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My windows account is entirely authorized for the database at the moment, but still not working.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I want to figure out how to resolve this.&lt;/LI&gt;
&lt;LI&gt;I would glad to hear if there is another way to connect SAS to MS sql server.&lt;/LI&gt;
&lt;/UL&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 20:46:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537192#M147686</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-20T20:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537194#M147687</link>
      <description>Where can I obtain dsnName? Where can I access?</description>
      <pubDate>Wed, 20 Feb 2019 20:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537194#M147687</guid>
      <dc:creator>monona</dc:creator>
      <dc:date>2019-02-20T20:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537205#M147694</link>
      <description>&lt;P&gt;When you set up the DSN, in the screenshot shown, you set the DSN name there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to fix that error you're showing first, however, that's not something the forum can help you out with, its dependent on your set up and permissions which you really shouldn't share with us.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/214996"&gt;@monona&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Where can I obtain dsnName? Where can I access?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 21:00:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537205#M147694</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-20T21:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537268#M147725</link>
      <description>&lt;P&gt;If you prefer not doing DSNs you can do the complete connection string in SAS like so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname SQLSRVR odbc noprompt = "server=SQLServerName;DRIVER=SQL Server Native Client 11.0;Trusted Connection=yes" DATABASE = MyDatabase schema = dbo;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is what we do as it avoids having to maintain DSNs entirely.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 02:09:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537268#M147725</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-02-21T02:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537271#M147726</link>
      <description>&lt;P&gt;Further to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;'s comment, I have written a macro to assist me at my client since I work with SQL Server all the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps you may find this useful, or at least can use it as a starting point.&amp;nbsp; Obviously you may need to edit it for your site specific requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/scottbass/SAS/blob/master/Macro/libname_sqlsvr.sas" target="_self"&gt;https://github.com/scottbass/SAS/blob/master/Macro/libname_sqlsvr.sas&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 02:34:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537271#M147726</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2019-02-21T02:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537272#M147727</link>
      <description>Thanks for your reply! I got error messages though.&lt;BR /&gt;&lt;BR /&gt;ERROR: CLI error trying to establish connection: [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for&lt;BR /&gt;user ''. : [Microsoft][SQL Server Native Client 11.0]Invalid connection string attribute&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Feb 2019 02:36:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537272#M147727</guid>
      <dc:creator>monona</dc:creator>
      <dc:date>2019-02-21T02:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537274#M147729</link>
      <description>&lt;P&gt;Can you post your LIBNAME statement please. The connection strings are fiddly to get right. For example blanks matter.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 02:39:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537274#M147729</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-02-21T02:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537275#M147730</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/214996"&gt;@monona&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thanks for your reply! I got error messages though.&lt;BR /&gt;&lt;BR /&gt;ERROR: CLI error trying to establish connection: [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for&lt;BR /&gt;user ''. : [Microsoft][SQL Server Native Client 11.0]Invalid connection string attribute&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does your SQL Server support trusted connections, i.e. your already authenticated network identity (when you logged in) if sufficient to grant access to SQL Server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you use SQL Server Management Console, or some other tool, to connect to SQL Server outside of SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before posting more questions, you may want to invest some time here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001355231.htm" target="_self"&gt;http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001355231.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you haven't yet read this, you should...&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 02:43:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537275#M147730</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2019-02-21T02:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537276#M147731</link>
      <description>Here!&lt;BR /&gt;&lt;BR /&gt;libname abc odbc noprompt = "server=XXX;DRIVER=SQL Server Native Client 11.0;Trusted Connection=yes" DATABASE = XXX schema = dbo;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Feb 2019 02:44:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537276#M147731</guid>
      <dc:creator>monona</dc:creator>
      <dc:date>2019-02-21T02:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537278#M147733</link>
      <description>Yes! I log in with my windows authentication when loggin in ms sql server management studio.</description>
      <pubDate>Thu, 21 Feb 2019 02:48:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537278#M147733</guid>
      <dc:creator>monona</dc:creator>
      <dc:date>2019-02-21T02:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537280#M147735</link>
      <description>&lt;P&gt;Sorry, my bad. Try this (added underscore):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Trusted_Connection=yes;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname abc odbc noprompt = "server=XXX;DRIVER=SQL Server Native Client 11.0;Trusted_Connection=yes" DATABASE = XXX schema = dbo;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 02:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537280#M147735</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-02-21T02:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537281#M147736</link>
      <description>&lt;P&gt;OMG!!!! I LOVE YOU. IT WORKS!!!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 02:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537281#M147736</guid>
      <dc:creator>monona</dc:creator>
      <dc:date>2019-02-21T02:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537282#M147737</link>
      <description>One last question....!&lt;BR /&gt;I actually create the library like that, but it doesn't show up in the database on ms sql server studio. do you know where the library i create on sas is stored?</description>
      <pubDate>Thu, 21 Feb 2019 02:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537282#M147737</guid>
      <dc:creator>monona</dc:creator>
      <dc:date>2019-02-21T02:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537284#M147739</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/214996"&gt;@monona&lt;/a&gt;&amp;nbsp;-I'm pleased you like this solution. I reckon it's pretty cool too yet it is not a well known way of connecting to relational databases.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 03:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537284#M147739</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-02-21T03:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537286#M147740</link>
      <description>&lt;P&gt;It won't show up there, it is purely a SAS thing. It will appear in your SAS Enterprise Guide server list or the library list in SAS Studio or the SAS Windowing Environment.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 03:04:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537286#M147740</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-02-21T03:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537287#M147741</link>
      <description>So is it another story to push sas data set to sql server directly? sorry for many questions...</description>
      <pubDate>Thu, 21 Feb 2019 03:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537287#M147741</guid>
      <dc:creator>monona</dc:creator>
      <dc:date>2019-02-21T03:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537290#M147744</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/214996"&gt;@monona&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;OMG!!!! I LOVE YOU. IT WORKS!!!&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Congratulations&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;!!! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 03:09:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537290#M147744</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2019-02-21T03:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537294#M147748</link>
      <description>&lt;P&gt;The same LIBNAME will work for updating SQL Server as well as reading, assuming you have the right database privileges.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 03:23:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/537294#M147748</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-02-21T03:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to MS SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/758834#M239682</link>
      <description>&lt;P&gt;Hello, I am trying to connect to MS SQL Server data table through SAS and I ran into this issue and not sure what it means.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran the following code and got issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;connect to SQLSVR as mydb (datasrc="SQL_SAS" user="XXX" password="XXX");&lt;BR /&gt;select * from connection to mydb&lt;BR /&gt;(select * from DATA_TABLE);&lt;BR /&gt;quit;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;23 GOPTIONS ACCESSIBLE;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;24 proc sql;&lt;BR /&gt;25 connect to SQLSVR as mydb (datasrc="SQL_SAS" user="D113338" password=XXXXXXXXXX);&lt;BR /&gt;ERROR: CLI error trying to establish connection: [DataDirect][ODBC lib] Data source name not found and no default driver specified&lt;BR /&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;26 select * from connection to mydb&lt;BR /&gt;27 (select * from DATA_TABLE);&lt;BR /&gt;ERROR: The MYDB engine cannot be found.&lt;BR /&gt;ERROR: A Connection to the mydb DBMS is not currently supported, or is not installed at your site.&lt;BR /&gt;28 quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already added that SQL_SAS datasource into the ODBC Datasouce Administrator but it still did not work.&lt;/P&gt;&lt;P&gt;Thank you so much for any help.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 16:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-to-MS-SQL-Server/m-p/758834#M239682</guid>
      <dc:creator>tampham92</dc:creator>
      <dc:date>2021-08-02T16:40:44Z</dc:date>
    </item>
  </channel>
</rss>

