<?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: left outer join in Proc SQL in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133655#M10887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What will work and not work, is revealed by executing the program. The color scheming can't possibly reflect any aspect of SAS language. Just look how macros are color-coded...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Mar 2013 12:22:08 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2013-03-14T12:22:08Z</dc:date>
    <item>
      <title>left outer join in Proc SQL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133652#M10884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering... I can remember some SAS statements can't be used in a Proc SQL session. Like "left outer join". After creating this code, the "left" (see below in red) is not coloured blue like the remaining part of the formula "... outer join". I thought this was one of the statements that did not work (since left has another function in SAS). But the code does work. Can anyone confirm that a "left outer join" just works within a proc SQL step? Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table dir.deel2 as&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;&amp;nbsp; from dir.deel1 t1 &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;left&lt;/STRONG&gt;&lt;/SPAN&gt; outer join nl_xxx.yyy t2 on &lt;/P&gt;&lt;P&gt;&amp;nbsp; t1.accnr = t2.accbusid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 08:48:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133652#M10884</guid>
      <dc:creator>Wouter</dc:creator>
      <dc:date>2013-03-14T08:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: left outer join in Proc SQL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133653#M10885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I get you right: do you wonder if your program that does work, works?:smileyconfused:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/sqlproc/63043/HTML/default/viewer.htm#p1bk7i6jqseje7n1lifcip8kzhpp.htm" title="http://support.sas.com/documentation/cdl/en/sqlproc/63043/HTML/default/viewer.htm#p1bk7i6jqseje7n1lifcip8kzhpp.htm"&gt;SAS(R) 9.3 SQL Procedure User's Guide&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 11:02:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133653#M10885</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2013-03-14T11:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: left outer join in Proc SQL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133654#M10886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Partly &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I've learned that you can't use certain SAS statements in a PROC SQL session (and I remember one of them was LEFT join, because LEFT is already reserved for the SAS base language), I was wondering if it will work correctly. It seems to work, but then again, why does "LEFT" not turn blue in the "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f8f8f8;"&gt;left outer join&lt;/SPAN&gt;" statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 11:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133654#M10886</guid>
      <dc:creator>Wouter</dc:creator>
      <dc:date>2013-03-14T11:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: left outer join in Proc SQL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133655#M10887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What will work and not work, is revealed by executing the program. The color scheming can't possibly reflect any aspect of SAS language. Just look how macros are color-coded...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 12:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133655#M10887</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2013-03-14T12:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: left outer join in Proc SQL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133656#M10888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But there must be some program rules i guess...? In the SAS course I followed, this was one of the topics (SAS statements used in Proc SQL). Otherwise SAS would be one big trial and error game?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 12:27:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133656#M10888</guid>
      <dc:creator>Wouter</dc:creator>
      <dc:date>2013-03-14T12:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: left outer join in Proc SQL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133657#M10889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can confirm the use of left outer join.&amp;nbsp; You can also test sql code by adding the noexec option to the proc sql statement.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 13:04:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133657#M10889</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-03-14T13:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: left outer join in Proc SQL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133658#M10890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS Documentation...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 13:15:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133658#M10890</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2013-03-14T13:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: left outer join in Proc SQL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133659#M10891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got them all (followed all base courses --&amp;gt; knowledge (as reffered to above) + sheets), books for certified base programmer (passed), now going for the advanced level (also all books in house). But round about 20k of pages... Thought it would be a good idea to post the question here, since this is a forum for / with SAS experts. Saves me some time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 13:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/left-outer-join-in-Proc-SQL/m-p/133659#M10891</guid>
      <dc:creator>Wouter</dc:creator>
      <dc:date>2013-03-14T13:28:08Z</dc:date>
    </item>
  </channel>
</rss>

