<?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 proc sql where clause in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-where-clause/m-p/42176#M10929</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Is threre a difference in performance between the two usage of where clause below? If yes which is more efficient?&lt;BR /&gt;
&lt;BR /&gt;
select a.*,b.* from table_a a(&lt;WHERE clause=""&gt;) left join table_b on..&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
select a.*,b.* from table_a left join table_b on ... &lt;WHERE clause=""&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Milton&lt;/WHERE&gt;&lt;/WHERE&gt;</description>
    <pubDate>Fri, 01 Apr 2011 08:30:30 GMT</pubDate>
    <dc:creator>milts</dc:creator>
    <dc:date>2011-04-01T08:30:30Z</dc:date>
    <item>
      <title>proc sql where clause</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-where-clause/m-p/42176#M10929</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Is threre a difference in performance between the two usage of where clause below? If yes which is more efficient?&lt;BR /&gt;
&lt;BR /&gt;
select a.*,b.* from table_a a(&lt;WHERE clause=""&gt;) left join table_b on..&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
select a.*,b.* from table_a left join table_b on ... &lt;WHERE clause=""&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Milton&lt;/WHERE&gt;&lt;/WHERE&gt;</description>
      <pubDate>Fri, 01 Apr 2011 08:30:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-where-clause/m-p/42176#M10929</guid>
      <dc:creator>milts</dc:creator>
      <dc:date>2011-04-01T08:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql where clause</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-where-clause/m-p/42177#M10930</link>
      <description>the first is more efficient. Because it filter the data before the dataset loaded into PDV.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Fri, 01 Apr 2011 10:26:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-where-clause/m-p/42177#M10930</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-04-01T10:26:42Z</dc:date>
    </item>
  </channel>
</rss>

