<?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 investigating additional rows added after running a left join on two tables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/investigating-additional-rows-added-after-running-a-left-join-on/m-p/593569#M170426</link>
    <description>&lt;P&gt;How do you guys investigate where these additional rows came from?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried adding a variable in one of the data sets before doing the left join&amp;nbsp;&lt;/P&gt;&lt;P&gt;data original_tbl_1; set table1;&lt;/P&gt;&lt;P&gt;testvar = 1;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then in the following step I do the left join&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought I could just find where 1 doesn't exist after I run the left join, but it turns out all the addition rows are also filled out with testvar =1&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice on how I can go about doing this?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2019 22:57:34 GMT</pubDate>
    <dc:creator>haider_imam</dc:creator>
    <dc:date>2019-10-02T22:57:34Z</dc:date>
    <item>
      <title>investigating additional rows added after running a left join on two tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/investigating-additional-rows-added-after-running-a-left-join-on/m-p/593569#M170426</link>
      <description>&lt;P&gt;How do you guys investigate where these additional rows came from?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried adding a variable in one of the data sets before doing the left join&amp;nbsp;&lt;/P&gt;&lt;P&gt;data original_tbl_1; set table1;&lt;/P&gt;&lt;P&gt;testvar = 1;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then in the following step I do the left join&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought I could just find where 1 doesn't exist after I run the left join, but it turns out all the addition rows are also filled out with testvar =1&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice on how I can go about doing this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 22:57:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/investigating-additional-rows-added-after-running-a-left-join-on/m-p/593569#M170426</guid>
      <dc:creator>haider_imam</dc:creator>
      <dc:date>2019-10-02T22:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: investigating additional rows added after running a left join on two tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/investigating-additional-rows-added-after-running-a-left-join-on/m-p/593827#M170497</link>
      <description>'the left join'...to what table?  From what table?  By what fields? No idea what the other table involved looks like...maybe it already has a testvar field in it.  &lt;BR /&gt;&lt;BR /&gt;Or, if you're left joining original_tbl_1 to some other table by some field(s) it isn't surprising the results would have testvar =1.</description>
      <pubDate>Thu, 03 Oct 2019 17:28:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/investigating-additional-rows-added-after-running-a-left-join-on/m-p/593827#M170497</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2019-10-03T17:28:28Z</dc:date>
    </item>
  </channel>
</rss>

