<?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: Using _method option in proc sql in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Using-method-option-in-proc-sql/m-p/396116#M95597</link>
    <description>&lt;P&gt;&amp;nbsp;You can also specify _tree option.&amp;nbsp; I think&amp;nbsp; you'll get better answers in SQL communities in Stackoverflow.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2017 22:26:03 GMT</pubDate>
    <dc:creator>SAS_inquisitive</dc:creator>
    <dc:date>2017-09-14T22:26:03Z</dc:date>
    <item>
      <title>Using _method option in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-method-option-in-proc-sql/m-p/396105#M95594</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use the _method in proc sql in order to know the execution plan, but I have a question, ¿is there anyway to change the execution plan in SAS?. I know that creating an index can change the execution plan, but I dob't know other options...&lt;/P&gt;
&lt;P&gt;Any help will be greatly appreciated&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql _method;
create table prueba3 as
(select cod_articulo, sum(hc_venta) as ag_venta 
from prueba1 
group by cod_articulo);
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Sep 2017 21:13:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-method-option-in-proc-sql/m-p/396105#M95594</guid>
      <dc:creator>juanvg1972</dc:creator>
      <dc:date>2017-09-14T21:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using _method option in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-method-option-in-proc-sql/m-p/396112#M95595</link>
      <description>&lt;P&gt;You can try the "Magic" option detailed in this paper&amp;nbsp;&lt;A href="https://www.mwsug.org/proceedings/2012/S1/MWSUG-2012-S109.pdf" target="_blank"&gt;https://www.mwsug.org/proceedings/2012/S1/MWSUG-2012-S109.pdf&lt;/A&gt; but I rather suspect that the SQL Optimiser will normally pick the best plan anyway. By the way if you want to learn more about Proc SQL Kirk Lafler (the author of the linked paper) is the acknowledged guru on the subject. A google search should uncover lots of papers he's written.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 21:40:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-method-option-in-proc-sql/m-p/396112#M95595</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-09-14T21:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using _method option in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-method-option-in-proc-sql/m-p/396116#M95597</link>
      <description>&lt;P&gt;&amp;nbsp;You can also specify _tree option.&amp;nbsp; I think&amp;nbsp; you'll get better answers in SQL communities in Stackoverflow.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 22:26:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-method-option-in-proc-sql/m-p/396116#M95597</guid>
      <dc:creator>SAS_inquisitive</dc:creator>
      <dc:date>2017-09-14T22:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using _method option in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-method-option-in-proc-sql/m-p/396269#M95650</link>
      <description>&lt;P&gt;Thanks, MAGIC= doesn't work...as you said&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other question...¿is possible to use hints (similar to Oracle) in SAS?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 11:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-method-option-in-proc-sql/m-p/396269#M95650</guid>
      <dc:creator>juanvg1972</dc:creator>
      <dc:date>2017-09-15T11:13:19Z</dc:date>
    </item>
  </channel>
</rss>

