<?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: Join tables in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189261#M14488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it have to be done using EG tasks, or can you use SAS code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2014 23:07:23 GMT</pubDate>
    <dc:creator>TomKari</dc:creator>
    <dc:date>2014-02-27T23:07:23Z</dc:date>
    <item>
      <title>Join tables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189258#M14485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I join to datasets and keep all the variables in dataset1 and from dataset2 only the ones that are not in dataset1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This tables change all the time so if I do the query and join tables, the next time I do it the ones that where in dataset1 are no longer there and I need to get them from dataset2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 20:00:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189258#M14485</guid>
      <dc:creator>Lopes</dc:creator>
      <dc:date>2014-02-27T20:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189259#M14486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share some of the generated code?&lt;/P&gt;&lt;P&gt;It may be as simple as the order of listing your data sets in the join but some example code and input / output would clarify your issue and want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 22:53:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189259#M14486</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-02-27T22:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189260#M14487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you join on all the fields that are match between the two files, or is there a chance that the same fields could differ between tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they're all the same, then try doing a Natural Join, though you may have to code that, instead of using the Query Tool. I'm not sure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 22:59:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189260#M14487</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-02-27T22:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189261#M14488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it have to be done using EG tasks, or can you use SAS code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 23:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189261#M14488</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2014-02-27T23:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189262#M14489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp; can use SAS code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to join to tables, the columns in table 1 changes all the time and I need to get always all the columns from table 1 and the ones from table to that are not in table 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CREATE TABLE WORK.xxx(label="QUERY_FOR_CONTABILIDAD") AS &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SELECT t1.xxx1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t1.xxx2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; t1.xxx3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t2.xxx11, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; t2.xxx4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM WORK.QUERY_FOR_CONTABILIDAD_0001 t1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INNER JOIN WORK.COPIA_DE_LISTADO_DE_CUENTAS_CONT t2 ON (t1.Cuenta_contable = t2.CUENTA);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;QUIT;&lt;/P&gt;&lt;P&gt;The idea es &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this more clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 12:10:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Join-tables/m-p/189262#M14489</guid>
      <dc:creator>Lopes</dc:creator>
      <dc:date>2014-02-28T12:10:04Z</dc:date>
    </item>
  </channel>
</rss>

