<?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: How to derive my proc sql connection string from libname connection string? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225245#M53915</link>
    <description>&lt;P&gt;In that case your same NOPROMPT string should work fine in a CONNECTION statement.&lt;/P&gt;</description>
    <pubDate>Sat, 12 Sep 2015 02:02:05 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2015-09-12T02:02:05Z</dc:date>
    <item>
      <title>How to derive my proc sql connection string from libname connection string?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/224975#M53889</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;My libname is here -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME WWTest ODBC NOPROMPT="server=HMIDWPRD03;driver=sql server;Trusted Connection=yes;Database=WW;" SCHEMA=dbo USER=&lt;EM&gt;myid&lt;/EM&gt;&amp;nbsp;PASSWORD="{sas002}&lt;I&gt;secretalphanumericcode123&lt;/I&gt;" ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried several&amp;nbsp;kinds of combinations for proc sql but it will not work -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;23 Proc sql;&lt;BR /&gt;24 Connect to odbc ( user=&lt;EM&gt;myid&amp;nbsp;&lt;/EM&gt;password=&lt;EM&gt;myunecryptedpwd&lt;/EM&gt;&amp;nbsp;database="WW.dbo") ;&lt;BR /&gt;ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver&lt;BR /&gt;specified&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried datasrc=/ database= /single quote/double quote/ and other combinations but of no avail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;saspert&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 15:08:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/224975#M53889</guid>
      <dc:creator>saspert</dc:creator>
      <dc:date>2015-09-10T15:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to derive my proc sql connection string from libname connection string?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225017#M53895</link>
      <description>&lt;P&gt;Have you tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;connect using WWtest as cWWTest;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 19:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225017#M53895</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2015-09-10T19:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to derive my proc sql connection string from libname connection string?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225033#M53897</link>
      <description>&lt;P&gt;This is a more OS -related issue as per my supervisor. So we can ignore this for now. Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 20:41:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225033#M53897</guid>
      <dc:creator>saspert</dc:creator>
      <dc:date>2015-09-10T20:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to derive my proc sql connection string from libname connection string?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225048#M53900</link>
      <description>&lt;P&gt;Does your LIBNAME actually work? Supplying a username and password is not required if you are using Windows authentication as your string&amp;nbsp;Trusted Connection=yes; indicates. With this option SQL Server authenticates against your Windows user credentials.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 22:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225048#M53900</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-10T22:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to derive my proc sql connection string from libname connection string?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225178#M53906</link>
      <description>&lt;P&gt;LIBNAME WW2&amp;nbsp;ODBC &amp;nbsp;NOPROMPT="server=ABCDEFGPRD;driver=sql server;Trusted Connection=yes;Database=WW;" ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works fine. The original library is WW. The new test library I created is WW2. Both are shown as assigned/created.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 15:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225178#M53906</guid>
      <dc:creator>saspert</dc:creator>
      <dc:date>2015-09-11T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to derive my proc sql connection string from libname connection string?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225245#M53915</link>
      <description>&lt;P&gt;In that case your same NOPROMPT string should work fine in a CONNECTION statement.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Sep 2015 02:02:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-derive-my-proc-sql-connection-string-from-libname/m-p/225245#M53915</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-12T02:02:05Z</dc:date>
    </item>
  </channel>
</rss>

