<?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: getting missing ODBC driver error when attempting SQL passthrough in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970491#M30126</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223320"&gt;@quickbluefish&lt;/a&gt;&amp;nbsp;If you've got a working libname/libref to access Redshift then you can use such a libref also in your connect statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname rlref redshift .....;

proc sql;
connect using rlref;

* .... ;

disconnect from rlref;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jul 2025 23:46:20 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2025-07-09T23:46:20Z</dc:date>
    <item>
      <title>getting missing ODBC driver error when attempting SQL passthrough</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970442#M30122</link>
      <description>&lt;P&gt;Not totally sure this should be under admin or not.&amp;nbsp; At my old job, I used SQL passthrough quite a lot for pushing operations to MS SQL Server without issue, but at my new job, I am a bit of an outcast for using SAS and local IT does not seem interested in digging into this issue.&amp;nbsp; The attempted connection is now to AWS Redshift, and I'm using syntax like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
connect to redshift (user=XXXX password=XXXX
    server=XXXX port=XXXX database=XXXX);

* .... ;

disconnect from redshift;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;...and I'm getting the error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: CLI error trying to establish connection: [DataDirect] [ODBC lib] Specified driver could not be loaded.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What I'd like to know is - is the solution to this something that the sys admin needs to resolve, or is it something I'm doing / not doing.&amp;nbsp; Any help is greatly appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 13:51:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970442#M30122</guid>
      <dc:creator>quickbluefish</dc:creator>
      <dc:date>2025-07-09T13:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: getting missing ODBC driver error when attempting SQL passthrough</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970489#M30124</link>
      <description>&lt;P&gt;The error you are getting suggests to me that the SAS/ACCESS Interface to Redshift has not been correctly configured. Do you know of anyone where you work who is using SAS with Redshift or are you the first to try? It would also be work confirming that&amp;nbsp;SAS/ACCESS Interface to Redshift is installed and licensed although it most likely is based on the error message:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;
run;

proc setinit;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 22:52:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970489#M30124</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2025-07-09T22:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: getting missing ODBC driver error when attempting SQL passthrough</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970490#M30125</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;- thank you! I will try checking the status as you suggested.&amp;nbsp; Others (a small minority, at least) do use SAS, but I suspect everyone just uses the libref interface to Redshift rather than using passthrough - I'm searching for someone, though.&amp;nbsp; The former (libref method) does work OK - it's just not efficient for big tasks and obviously doesn't allow me to use native SQL.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 23:06:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970490#M30125</guid>
      <dc:creator>quickbluefish</dc:creator>
      <dc:date>2025-07-09T23:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: getting missing ODBC driver error when attempting SQL passthrough</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970491#M30126</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223320"&gt;@quickbluefish&lt;/a&gt;&amp;nbsp;If you've got a working libname/libref to access Redshift then you can use such a libref also in your connect statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname rlref redshift .....;

proc sql;
connect using rlref;

* .... ;

disconnect from rlref;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 23:46:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970491#M30126</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2025-07-09T23:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: getting missing ODBC driver error when attempting SQL passthrough</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970496#M30127</link>
      <description>&lt;P&gt;THIS IS AMAZING.&amp;nbsp; I spent hours trying to get this to work and another hour on the phone with tech support to no avail - this solution works perfectly!&amp;nbsp; Thank you!!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 00:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/getting-missing-ODBC-driver-error-when-attempting-SQL/m-p/970496#M30127</guid>
      <dc:creator>quickbluefish</dc:creator>
      <dc:date>2025-07-10T00:51:53Z</dc:date>
    </item>
  </channel>
</rss>

