<?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 SQL Pass-through in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SQL-Pass-through/m-p/279255#M157</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;Is there a setting in CI Studio that will cause implicit pass-through in selection queries where it is possible?&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2016 09:24:42 GMT</pubDate>
    <dc:creator>HeidiDT</dc:creator>
    <dc:date>2016-06-22T09:24:42Z</dc:date>
    <item>
      <title>SQL Pass-through</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SQL-Pass-through/m-p/279255#M157</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;Is there a setting in CI Studio that will cause implicit pass-through in selection queries where it is possible?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 09:24:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SQL-Pass-through/m-p/279255#M157</guid>
      <dc:creator>HeidiDT</dc:creator>
      <dc:date>2016-06-22T09:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Pass-through</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SQL-Pass-through/m-p/279276#M158</link>
      <description>&lt;P&gt;I'm not familiar with CI Studio, but if you are using SAS/ACCESS libnames, implicit pass-through will occur by default. There are some settings that affect (mostly reduce) what's gets "pass-throughed".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the specifics for you database. Here's the doc&amp;nbsp;for Oracle:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Functions&lt;/STRONG&gt;: &lt;A href="https://support.sas.com/documentation/cdl/en/acreldb/69039/HTML/default/viewer.htm#p0f64yzzxbsg8un1uwgstc6fivjd.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/acreldb/69039/HTML/default/viewer.htm#p0f64yzzxbsg8un1uwgstc6fivjd.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Joins&lt;/STRONG&gt;:&amp;nbsp;&lt;A href="https://support.sas.com/documentation/cdl/en/acreldb/69039/HTML/default/viewer.htm#p0idw091gkbf6hn17dcnmmfd4l1s.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/acreldb/69039/HTML/default/viewer.htm#p0idw091gkbf6hn17dcnmmfd4l1s.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, to monitor pass through behaviour, add this to your SAS program/autoexec...:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options msglevel=i sastrace=',,,d' sastraceloc=saslog nostsuffix;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 11:05:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SQL-Pass-through/m-p/279276#M158</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-06-22T11:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Pass-through</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SQL-Pass-through/m-p/279322#M159</link>
      <description>&lt;P&gt;If you're using calculated items&amp;nbsp;defined in your information map or in CI Studio, the tips from &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH﻿&lt;/a&gt;&amp;nbsp;are invaluable for&amp;nbsp;setting up your environment (SQL_FUNCTIONS=ALL, making sure all your libnames have the exact same settings&amp;nbsp;except SCHEMA=, etc.).&amp;nbsp;And the option statement below, combined with capturing the query from your CI core log (on the mid tier) and running it in EG with a&amp;nbsp;proc sql statement ("proc sql loops=&lt;STRONG&gt;1000&lt;/STRONG&gt; _method feedback;") will&amp;nbsp;let you&amp;nbsp;see if that calculated item is being passed or not:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ACCESS ENGINE:&amp;nbsp; SQL statement was not passed to the DBMS, SAS will do the processing&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If SAS has to do the processing, it will download all the data, then do the calculation on the compute server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If, on the other hand, your question is more about the queries that get generated from the information map for non-calculated fields, there is no switch to control that; it's always generated sql that's&amp;nbsp;executed using the normal SAS/ACCESS &amp;amp; proc sql method&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 13:29:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SQL-Pass-through/m-p/279322#M159</guid>
      <dc:creator>shill</dc:creator>
      <dc:date>2016-06-22T13:29:44Z</dc:date>
    </item>
  </channel>
</rss>

