<?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: Implicit pass through--which queries are send/not send to Teradata in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388078#M11715</link>
    <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/69580/HTML/default/viewer.htm#p0lpu4mxo0lkrcn17ignr2iq9zb3.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acreldb/69580/HTML/default/viewer.htm#p0lpu4mxo0lkrcn17ignr2iq9zb3.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I would assume that a function that is not on this list will not passed down to Teradata.&lt;/P&gt;
&lt;P&gt;Teradata do seem to have regular expression functions, but I'm not the one to tell whether&amp;nbsp;they matches&amp;nbsp;the functionality of the SAS ones.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ans as already been said, sastrace (and msglevel=i) will tel what gets passed and not.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2017 08:31:58 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2017-08-15T08:31:58Z</dc:date>
    <item>
      <title>Implicit pass through--which queries are send/not send to Teradata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388050#M11710</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to understand, when implicit sql pass through for Teradata is used, what type of queries or SAS/functions that are not passed to Teradata(queries with remerging statistics are not passed to teradata). I have read paper by Howard Plemmons&amp;nbsp;&lt;A href="https://www.mwsug.org/proceedings/2015/BB/MWSUG-2015-BB-03.pdf" target="_blank"&gt;https://www.mwsug.org/proceedings/2015/BB/MWSUG-2015-BB-03.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and paper by Fred Levine&amp;nbsp;&lt;A href="http://www2.sas.com/proceedings/sugi26/p110-26.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi26/p110-26.pdf&lt;/A&gt;&amp;nbsp;and also paper by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/51161"&gt;@JBailey&lt;/a&gt;&amp;nbsp;&lt;A href="http://www.scsug.org/wp-content/uploads/2013/11/The-SQL-Tuning-Checklist-Jeff-Bailey-SAS.pdf" target="_blank"&gt;http://www.scsug.org/wp-content/uploads/2013/11/The-SQL-Tuning-Checklist-Jeff-Bailey-SAS.pdf&lt;/A&gt;&amp;nbsp;and also looked into SAS/Access for relation databases&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/69580/PDF/default/acreldb.pdf" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acreldb/69580/PDF/default/acreldb.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All this articles inform &amp;nbsp;me that distinct, upcase and joins are usually passed to Teradata to name a few. This list of queries sent to teradata is too small. I also know that by using options sastrace=',,,d' nostsuffix, we can find whether a query has been passed to teradata or not.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to know whether there is comprehensive list that tells us which string or numeric function that are not passsed to teradata. Does regular expressions in SAS are passed to teradata.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this information available anywhere or is it we need to try out each scenario.(I also understand that there are lot of SAS statistical functions that cannot be &amp;nbsp;mapped to Teradata).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know your expert opinions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 03:54:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388050#M11710</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2017-08-15T03:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit pass through--which queries are send/not send to Teradata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388053#M11711</link>
      <description>&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/acreldb/69580/HTML/default/viewer.htm#p0lpu4mxo0lkrcn17ignr2iq9zb3.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/acreldb/69580/HTML/default/viewer.htm#p0lpu4mxo0lkrcn17ignr2iq9zb3.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the DB specific docs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Things to note - functions that don't get passed through and tables that are local vs server.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 04:25:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388053#M11711</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-15T04:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit pass through--which queries are send/not send to Teradata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388054#M11712</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;. Do you know whether regular expressions are passed or not.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 04:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388054#M11712</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2017-08-15T04:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit pass through--which queries are send/not send to Teradata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388064#M11713</link>
      <description>Without wishing to appear self-promoting, have a look at a SAS Global Forum paper I presented a couple of years ago on the SASTRACE option:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings15/3269-2015.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings15/3269-2015.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I can't specifically state whether or not a particular expression will be passed through to the database (in your case Teradata) but using the SASTRACE option will reveal the underlying SQL statement(s) passed through to the database.&lt;BR /&gt;&lt;BR /&gt;Best of luck.</description>
      <pubDate>Tue, 15 Aug 2017 06:18:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388064#M11713</guid>
      <dc:creator>AndrewHowell</dc:creator>
      <dc:date>2017-08-15T06:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit pass through--which queries are send/not send to Teradata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388078#M11715</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/69580/HTML/default/viewer.htm#p0lpu4mxo0lkrcn17ignr2iq9zb3.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acreldb/69580/HTML/default/viewer.htm#p0lpu4mxo0lkrcn17ignr2iq9zb3.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I would assume that a function that is not on this list will not passed down to Teradata.&lt;/P&gt;
&lt;P&gt;Teradata do seem to have regular expression functions, but I'm not the one to tell whether&amp;nbsp;they matches&amp;nbsp;the functionality of the SAS ones.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ans as already been said, sastrace (and msglevel=i) will tel what gets passed and not.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 08:31:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388078#M11715</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-08-15T08:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit pass through--which queries are send/not send to Teradata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388111#M11716</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13754"&gt;@AndrewHowell&lt;/a&gt; thank you, &amp;nbsp;that was good paper. Do you know what type of queries&amp;nbsp;that are generally not passed to DBMS. Just looking for some benchmarking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does any of datastep constructs that are passed to DBMS.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 12:23:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388111#M11716</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2017-08-15T12:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Implicit pass through--which queries are send/not send to Teradata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388124#M11717</link>
      <description>&lt;P&gt;Not as part of a normal SAS/ACCESS connection. With in Database licence &amp;nbsp;I think DS2 steps can be executed within the target database.&lt;/P&gt;
&lt;P&gt;But, BY and WHERE statements are passed regardless of the surrounding&amp;nbsp;step type (PROC, data step or SQL). BY will trigger source DBMS sorting. WHERE filtering will take place if syntax can be evaluated by the source (function and formats...). I think that&amp;nbsp;DROP and KEEP will be part of the implicit SQL (sastrace!).&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 13:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Implicit-pass-through-which-queries-are-send-not-send-to/m-p/388124#M11717</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-08-15T13:11:46Z</dc:date>
    </item>
  </channel>
</rss>

