<?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 Left join warning in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Left-join-warning/m-p/827912#M327033</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I did a left join of the two data and received this warning. Should I be concern about my outcome due to this warning or not. How can I rectify this issue for future codes.&lt;/P&gt;&lt;P&gt;/*perform left join*/&lt;BR /&gt;proc sql;&lt;BR /&gt;create table final_table_0607 as&lt;BR /&gt;select * from mth_0607 as x left join case_07 as y&lt;BR /&gt;on x.bene_id = y.bene_id;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;72&lt;/DIV&gt;&lt;DIV class=""&gt;73 proc sql;&lt;/DIV&gt;&lt;DIV class=""&gt;74 create table final_table_0607 as&lt;/DIV&gt;&lt;DIV class=""&gt;75 select * from mth_0607 as x left join case_07 as y&lt;/DIV&gt;&lt;DIV class=""&gt;76 on x.bene_id = y.bene_id;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#FF0000"&gt;WARNING: Variable bene_id already exists on file WORK.FINAL_TABLE_0607.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Table WORK.FINAL_TABLE_0607 created, with 14461320 rows and 19 columns.&lt;/DIV&gt;</description>
    <pubDate>Tue, 09 Aug 2022 16:42:21 GMT</pubDate>
    <dc:creator>CathyVI</dc:creator>
    <dc:date>2022-08-09T16:42:21Z</dc:date>
    <item>
      <title>Left join warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Left-join-warning/m-p/827912#M327033</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I did a left join of the two data and received this warning. Should I be concern about my outcome due to this warning or not. How can I rectify this issue for future codes.&lt;/P&gt;&lt;P&gt;/*perform left join*/&lt;BR /&gt;proc sql;&lt;BR /&gt;create table final_table_0607 as&lt;BR /&gt;select * from mth_0607 as x left join case_07 as y&lt;BR /&gt;on x.bene_id = y.bene_id;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;72&lt;/DIV&gt;&lt;DIV class=""&gt;73 proc sql;&lt;/DIV&gt;&lt;DIV class=""&gt;74 create table final_table_0607 as&lt;/DIV&gt;&lt;DIV class=""&gt;75 select * from mth_0607 as x left join case_07 as y&lt;/DIV&gt;&lt;DIV class=""&gt;76 on x.bene_id = y.bene_id;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#FF0000"&gt;WARNING: Variable bene_id already exists on file WORK.FINAL_TABLE_0607.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Table WORK.FINAL_TABLE_0607 created, with 14461320 rows and 19 columns.&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Aug 2022 16:42:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Left-join-warning/m-p/827912#M327033</guid>
      <dc:creator>CathyVI</dc:creator>
      <dc:date>2022-08-09T16:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Left join warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Left-join-warning/m-p/827914#M327034</link>
      <description>&lt;P&gt;There is a variable named bene_id in both data sets in this left join. The final output data set will contain only one of these variables named bene_id, which &lt;STRONG&gt;IN THIS SPECIFIC CASE&lt;/STRONG&gt; is not a problem because you left join on BENE_ID, and so the values of both variables of BENE_ID must match. (There can be other cases where the two variables have different values, and only one of those variables will wind up in the output data set)&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 16:52:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Left-join-warning/m-p/827914#M327034</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-09T16:52:38Z</dc:date>
    </item>
  </channel>
</rss>

