<?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: PROC SQL: Verify before executing whether a query may run fully in-database in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Verify-before-executing-whether-a-query-may-run-fully/m-p/202337#M50510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use Proc Sql &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Pass-Through Facility, Proc SQL does NOT handle "any portion of the query itself".&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 18:34:28 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2015-08-19T18:34:28Z</dc:date>
    <item>
      <title>PROC SQL: Verify before executing whether a query may run fully in-database</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Verify-before-executing-whether-a-query-may-run-fully/m-p/202336#M50509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to verify before executing whether a PROC SQL query may run fully in-database? ex: LIBNAME DB2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to reduce data movement/translation and leverage PROC SQL's use of the Pass-Through Facility but if the database itself cannot process the query than I'd like to avoid PROC SQL from processing any portion of the query itself. &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Also, is it possible to copy to the log PROC SQL's translated query destined for the pass-through facility? (i.e. describe w/o executing) This may help when translating SQL syntax across different DBMS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 15:19:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Verify-before-executing-whether-a-query-may-run-fully/m-p/202336#M50509</guid>
      <dc:creator>Brian</dc:creator>
      <dc:date>2015-08-19T15:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL: Verify before executing whether a query may run fully in-database</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Verify-before-executing-whether-a-query-may-run-fully/m-p/202337#M50510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use Proc Sql &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Pass-Through Facility, Proc SQL does NOT handle "any portion of the query itself".&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 18:34:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Verify-before-executing-whether-a-query-may-run-fully/m-p/202337#M50510</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-08-19T18:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL: Verify before executing whether a query may run fully in-database</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Verify-before-executing-whether-a-query-may-run-fully/m-p/202338#M50511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks PG. Agreed. Sorry, I misstated my question. I'd like to leverage implicit libname rather than explicit pass-through. &lt;SPAN style="font-size: 13.3333330154419px;"&gt;With explicit pass-through, if &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;a similar query is being run across two or more different DBMS, the query syntax may need to be manually translated (or dynamically translated through macros). &lt;/SPAN&gt;In general, it would nice for others to interpret or maintain a single (and maybe simpler) syntax. &lt;SPAN style="font-size: 13.3333330154419px;"&gt;I shouldn't have suggested that implicit libname generates explicit pass-through code. However, if implicit libname does generate the proper explicit syntax behind the scenes, I'd like to export that translation to the log. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 19:16:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Verify-before-executing-whether-a-query-may-run-fully/m-p/202338#M50511</guid>
      <dc:creator>Brian</dc:creator>
      <dc:date>2015-08-19T19:16:14Z</dc:date>
    </item>
  </channel>
</rss>

