<?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 EG problem with libname connection ODB sql server in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924082#M44605</link>
    <description>&lt;P&gt;IT is local session. 2nd question - dont think so, when i tried to log through odbc driver 17 for sql server&amp;nbsp; - it worked in odbc and sas, but when we use sql server odbc connection - it doesnt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is working:&lt;/P&gt;&lt;P&gt;LIBNAME mylib ODBC dsn='NMI' schema=dbo;&lt;/P&gt;&lt;P&gt;Because it is windows auth, but when we tried it through username and password - and odbc connection sql server, it doesnt work. And we dont know why&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2024 11:23:58 GMT</pubDate>
    <dc:creator>Pato485</dc:creator>
    <dc:date>2024-04-12T11:23:58Z</dc:date>
    <item>
      <title>SAS EG problem with libname connection ODB sql server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924069#M44603</link>
      <description>&lt;P&gt;We tried to connect to sql server throught ODB connection, test was completed successfully. so connection is working OK:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pato485_0-1712915331898.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95488i5C1C849B4FEDEE9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pato485_0-1712915331898.png" alt="Pato485_0-1712915331898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pato485_1-1712915331902.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95487iB4FE992D50E5F170/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pato485_1-1712915331902.png" alt="Pato485_1-1712915331902.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when we tried to connect to this database in SAS EG we got this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pato485_2-1712915331910.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95486i7BFC0C263B9A71E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pato485_2-1712915331910.png" alt="Pato485_2-1712915331910.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME IDB ODBC DATAsrc=IDB SCHEMA=dbo USER=danasova PASSWORD="xxx";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we did incorrect?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 09:50:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924069#M44603</guid>
      <dc:creator>Pato485</dc:creator>
      <dc:date>2024-04-12T09:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG problem with libname connection ODB sql server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924079#M44604</link>
      <description>&lt;P&gt;To be sure, is EG connecting to a local or a remote SAS session?&lt;/P&gt;
&lt;P&gt;And is your ODBC Manager test done on the host where SAS executes (and using the same user/pw)?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 11:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924079#M44604</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2024-04-12T11:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG problem with libname connection ODB sql server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924082#M44605</link>
      <description>&lt;P&gt;IT is local session. 2nd question - dont think so, when i tried to log through odbc driver 17 for sql server&amp;nbsp; - it worked in odbc and sas, but when we use sql server odbc connection - it doesnt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is working:&lt;/P&gt;&lt;P&gt;LIBNAME mylib ODBC dsn='NMI' schema=dbo;&lt;/P&gt;&lt;P&gt;Because it is windows auth, but when we tried it through username and password - and odbc connection sql server, it doesnt work. And we dont know why&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 11:23:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924082#M44605</guid>
      <dc:creator>Pato485</dc:creator>
      <dc:date>2024-04-12T11:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG problem with libname connection ODB sql server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924124#M44606</link>
      <description>&lt;P&gt;Try this (with your changes):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;libname SQLREF ODBC NOPROMPT="server=SVDSQLDCP01;driver=ODBC Driver 13 for SQL Server;trusted_connection=yes;database=DEVAPP10_Shredding" STRINGDATES=NO IGNORE_READ_ONLY_COLUMNS=YES SCHEMA=DBO;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From here:&amp;nbsp;&lt;A href="https://github.com/savian-net/SasTipsTricks?tab=readme-ov-file#connect-via-odbc" target="_blank"&gt;GitHub - savian-net/SasTipsTricks: Tips and tricks learned over 20+ years as a SAS/Microsoft consultant&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 13:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924124#M44606</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2024-04-12T13:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG problem with libname connection ODB sql server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924211#M44607</link>
      <description>&lt;P&gt;The SQL Server ODBC driver is really old and may not work with more recent versions of SQL Server. Try creating an IDB connection with the Version 17 driver.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 23:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/924211#M44607</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-04-12T23:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG problem with libname connection ODB sql server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/925112#M44655</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/313523"&gt;@Pato485&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I see this in your post&lt;/P&gt;
&lt;P&gt;"This is working:&lt;/P&gt;
&lt;P&gt;LIBNAME mylib ODBC dsn='NMI' schema=dbo;&lt;/P&gt;
&lt;P&gt;Because it is windows auth, but when we tried it through username and password - and odbc connection sql server, it doesnt work. And we dont know why"&lt;/P&gt;
&lt;P&gt;Please check authentication mechanism defined in SQL server.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 01:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-problem-with-libname-connection-ODB-sql-server/m-p/925112#M44655</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2024-04-21T01:59:51Z</dc:date>
    </item>
  </channel>
</rss>

