<?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 SAS SQL &amp;quot;joinless&amp;quot; syntax in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-SQL-quot-joinless-quot-syntax/m-p/399640#M278539</link>
    <description>&lt;P&gt;My coding style is to explicity define inner/left joins. That said, I've increasingly run into code like this which is effectively an inner join:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc SQL;&lt;/P&gt;&lt;P&gt;Create table abc as&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;table1 A,&lt;/P&gt;&lt;P&gt;table2 B&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;a.key = b.key and a.id = b.id;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently ran into this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc SQL;&lt;/P&gt;&lt;P&gt;Create table abc as&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;table1 A,&lt;/P&gt;&lt;P&gt;table2 B&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;a.key = b.key (+) and a.id = b.id;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone tell me what the (+) is doing?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2017 21:07:01 GMT</pubDate>
    <dc:creator>SAS_Ryan</dc:creator>
    <dc:date>2017-09-28T21:07:01Z</dc:date>
    <item>
      <title>SAS SQL "joinless" syntax</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-SQL-quot-joinless-quot-syntax/m-p/399640#M278539</link>
      <description>&lt;P&gt;My coding style is to explicity define inner/left joins. That said, I've increasingly run into code like this which is effectively an inner join:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc SQL;&lt;/P&gt;&lt;P&gt;Create table abc as&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;table1 A,&lt;/P&gt;&lt;P&gt;table2 B&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;a.key = b.key and a.id = b.id;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently ran into this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc SQL;&lt;/P&gt;&lt;P&gt;Create table abc as&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;table1 A,&lt;/P&gt;&lt;P&gt;table2 B&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;a.key = b.key (+) and a.id = b.id;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone tell me what the (+) is doing?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 21:07:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-SQL-quot-joinless-quot-syntax/m-p/399640#M278539</guid>
      <dc:creator>SAS_Ryan</dc:creator>
      <dc:date>2017-09-28T21:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS SQL "joinless" syntax</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-SQL-quot-joinless-quot-syntax/m-p/399647#M278540</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/154659"&gt;@SAS_Ryan&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"Can someone tell me what the (+) is doing?"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;That's Oracle syntax for implicit left or right joins.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 21:13:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-SQL-quot-joinless-quot-syntax/m-p/399647#M278540</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-09-28T21:13:08Z</dc:date>
    </item>
  </channel>
</rss>

