<?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 Multiple tables from different database in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452308#M13946</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
    create table xyz as select x.a, y.b, z.c from
         x left join y on  .....  left join z on .....  ;
quit;
        &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since you didn't specify the joining criteria, I have left those as ......&lt;/P&gt;</description>
    <pubDate>Sun, 08 Apr 2018 12:04:43 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-04-08T12:04:43Z</dc:date>
    <item>
      <title>Join Multiple tables from different database</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452304#M13944</link>
      <description>&lt;P&gt;I'm extracting fields from different databases (DB2, Teradata..)/tables as shown in the image below and now I'm not certain to join all those variables to create a one single SAS dataset. Appreciate if someone of you guide me here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;E.g. Assume I'm extracting field A from table X,&amp;nbsp;&lt;SPAN&gt;field B from table Y and&amp;nbsp;field C from table Z and now I want to create a table XYZ which should have the variables A, B and C&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS JOB_3.JPG" style="width: 426px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19687i47236508D6D48DFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS JOB_3.JPG" alt="SAS JOB_3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 11:20:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452304#M13944</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-04-08T11:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Join Multiple tables from different database</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452308#M13946</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
    create table xyz as select x.a, y.b, z.c from
         x left join y on  .....  left join z on .....  ;
quit;
        &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since you didn't specify the joining criteria, I have left those as ......&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 12:04:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452308#M13946</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-08T12:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Join Multiple tables from different database</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452309#M13947</link>
      <description>What if I don't have common variables between those tables?&lt;BR /&gt;</description>
      <pubDate>Sun, 08 Apr 2018 12:24:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452309#M13947</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-04-08T12:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Join Multiple tables from different database</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452315#M13948</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/8409"&gt;@Babloo&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;You've got the following questions to answer first:&lt;/P&gt;
&lt;P&gt;1. What's the logic?&lt;/P&gt;
&lt;P&gt;- relationships between the tables&lt;/P&gt;
&lt;P&gt;- Join logic&lt;/P&gt;
&lt;P&gt;2. Performance&lt;/P&gt;
&lt;P&gt;- How can you reduce volumes most efficiently on the data base side before pulling the data into SAS for further processing (joining the tables).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Only when you're really clear about what needs to be done start with implementation using DIS.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 13:18:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452315#M13948</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-04-08T13:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Join Multiple tables from different database</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452320#M13949</link>
      <description>If there is a relationship between the tables, can I also lookup&lt;BR /&gt;transformation instead of Join transformation?&lt;BR /&gt;</description>
      <pubDate>Sun, 08 Apr 2018 13:39:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452320#M13949</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-04-08T13:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Join Multiple tables from different database</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452332#M13950</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/8409"&gt;@Babloo&lt;/a&gt; wrote:&lt;BR /&gt;If there is a relationship between the tables, can I also lookup&lt;BR /&gt;transformation instead of Join transformation?&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;These are questions you have to answer, by learning about the databases involved.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 15:49:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Join-Multiple-tables-from-different-database/m-p/452332#M13950</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-08T15:49:00Z</dc:date>
    </item>
  </channel>
</rss>

