<?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: Suggest me the Connectivity code for SQL in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/m-p/472001#M120964</link>
    <description>&lt;P&gt;Open the Windows ODBC Administrator tool and select the Drivers tab to find out the names of the ODBC drivers you have installed. As I suspect you are using SQL Server the likely driver name is SQL Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Libname New_lib ODBC NoPrompt="Driver=SQL Server;Server=192.168.1.14;Database=Mvdsc1302;Uid=IT;pwd=***";&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 07:53:25 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2018-06-21T07:53:25Z</dc:date>
    <item>
      <title>Suggest me the Connectivity code for SQL in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/m-p/471985#M120954</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have SAS 9.4 and SQL(2008) application in my PC.My entire database are in SQL application.&lt;/P&gt;&lt;P&gt;I want to use SQL database in SAS. There i found some code for connectivity in internet but those are not effective.&lt;/P&gt;&lt;P&gt;Can any one please suggest the perfect code with an example for me to proceed further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Libname New_lib ODBC NoPrompt="Driver=C:; Server=192.168.1.14; Database=Mvdsc1302; Uid=IT; pwd=***";
&lt;BR /&gt;
ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver Manager] Data source name not found and no default
       driver specified
ERROR: Error in the LIBNAME statement.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver Manager] Data source name not found and no default&lt;BR /&gt; driver specified&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How/what should i insert in Driver filed, Please help me with correct format.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 06:19:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/m-p/471985#M120954</guid>
      <dc:creator>Sathish_jammy</dc:creator>
      <dc:date>2018-06-21T06:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Suggest me the Connectivity code for SQL in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/m-p/471987#M120955</link>
      <description>&lt;P&gt;Forgetting SAS as the client application for the time being, let's first ensure the underlying SQL database client can connect to the SQL database server - because without that, any client applications will fail to connect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Can you verify your SQL client/server connectivity is working?&lt;/LI&gt;
&lt;LI&gt;Perhaps look in your ODBC Administrator settings.&lt;/LI&gt;
&lt;LI&gt;If your SQL client can connect, that is the connection string you should be using in your SAS libname statement.&lt;/LI&gt;
&lt;LI&gt;If you have an ODBC entry which (successfully) connects to your SQL database, then use the simpler "dsn='MySqlDetails' rather than the lengthy connection string.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 06:42:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/m-p/471987#M120955</guid>
      <dc:creator>AndrewHowell</dc:creator>
      <dc:date>2018-06-21T06:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Suggest me the Connectivity code for SQL in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/m-p/472001#M120964</link>
      <description>&lt;P&gt;Open the Windows ODBC Administrator tool and select the Drivers tab to find out the names of the ODBC drivers you have installed. As I suspect you are using SQL Server the likely driver name is SQL Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Libname New_lib ODBC NoPrompt="Driver=SQL Server;Server=192.168.1.14;Database=Mvdsc1302;Uid=IT;pwd=***";&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 07:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/m-p/472001#M120964</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-06-21T07:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Suggest me the Connectivity code for SQL in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/m-p/472057#M120977</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for your suggestion.&amp;nbsp;&lt;/SPAN&gt;&lt;IMG src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" border="0" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You guys are really awesome!.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13754"&gt;@AndrewHowell&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; The code works GREAT!...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Got all the tables from SQL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 12:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/m-p/472057#M120977</guid>
      <dc:creator>Sathish_jammy</dc:creator>
      <dc:date>2018-06-21T12:11:22Z</dc:date>
    </item>
  </channel>
</rss>

