<?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: Using ODBC on Enterprise  Guide in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-ODBC-on-Enterprise-Guide/m-p/185258#M14216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a typical example or how we do it. This approach avoids having to configure data sources in the Windows ODBS administrator tool which is a major advantage. The Trusted Connection=yes string does the Windows authentification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW the NOPROMPT option should be typed exactly as follows without spaces, otherwise it probably won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also we find it convenient to define all of SQL Server libnames in SAS metadata so they are automatically defined when you open a server connection from EG. If you wish to do this add the DEFER = YES option to libnames are only activated when referenced which improves EG connection performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; test &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;odbc&lt;/SPAN&gt; &lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;noprompt&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: purple; font-size: 9pt;"&gt;"server=MySQLServer;DRIVER=SQL Server;Trusted Connection=yes"&lt;/SPAN&gt; &lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;QUALIFIER&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = MyDatabase &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;schema&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = MySchema &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;readbuff&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 9pt; background: white; font-family: Consolas;"&gt;32767&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Jul 2014 19:53:04 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2014-07-20T19:53:04Z</dc:date>
    <item>
      <title>Using ODBC on Enterprise  Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-ODBC-on-Enterprise-Guide/m-p/185256#M14214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am connecting to the server on a client side installation of Enterprise Guide. How do I properly configure ODBC and/or SQL Server and/or SAS to allow a connection through ODBC to a SQL Server using Integrated Windows Authentication/NT Authentication?&lt;/P&gt;&lt;P&gt;I receive the following error:&lt;/P&gt;&lt;P&gt;ERROR: CLI error trying to establish connection: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUTHORITY\ANONYMOUS LOGON'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 16:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-ODBC-on-Enterprise-Guide/m-p/185256#M14214</guid>
      <dc:creator>Jchapman</dc:creator>
      <dc:date>2014-07-18T16:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using ODBC on Enterprise  Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-ODBC-on-Enterprise-Guide/m-p/185257#M14215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your OS is windows, you should firstly setup the SQLServer ODBC driver , technically it have already been setup in windows . then open Data source(ODBC) under manager tools . make a connection with wizard and don't forget to test if it is connecting successfully . Open SAS write your libname odbc .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2014 13:01:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-ODBC-on-Enterprise-Guide/m-p/185257#M14215</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-07-19T13:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using ODBC on Enterprise  Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-ODBC-on-Enterprise-Guide/m-p/185258#M14216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a typical example or how we do it. This approach avoids having to configure data sources in the Windows ODBS administrator tool which is a major advantage. The Trusted Connection=yes string does the Windows authentification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW the NOPROMPT option should be typed exactly as follows without spaces, otherwise it probably won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also we find it convenient to define all of SQL Server libnames in SAS metadata so they are automatically defined when you open a server connection from EG. If you wish to do this add the DEFER = YES option to libnames are only activated when referenced which improves EG connection performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; test &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;odbc&lt;/SPAN&gt; &lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;noprompt&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: purple; font-size: 9pt;"&gt;"server=MySQLServer;DRIVER=SQL Server;Trusted Connection=yes"&lt;/SPAN&gt; &lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;QUALIFIER&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = MyDatabase &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;schema&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = MySchema &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;readbuff&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 9pt; background: white; font-family: Consolas;"&gt;32767&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jul 2014 19:53:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-ODBC-on-Enterprise-Guide/m-p/185258#M14216</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-07-20T19:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using ODBC on Enterprise  Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-ODBC-on-Enterprise-Guide/m-p/185259#M14217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One additional thought.&amp;nbsp; Some DBAs disable 'trusted connections' for SQL/Server.&amp;nbsp; If you can't use it interactively, you can't use it with SAS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 13:04:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-ODBC-on-Enterprise-Guide/m-p/185259#M14217</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2014-07-21T13:04:13Z</dc:date>
    </item>
  </channel>
</rss>

