<?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 INNER JOIN for TDBINPUT 1 (JDBC) and TDBINPUT 2 (SQL Server) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/INNER-JOIN-for-TDBINPUT-1-JDBC-and-TDBINPUT-2-SQL-Server/m-p/2362978#M126993</link>
    <description>&lt;P&gt;Hi i am facing issue to inner join my two TDBINPUT, for Agent_Code in SQL Server db should have value like JB1234, while for ZZSBRANCH will be JB and ZZSCODE will be 1234, for me to compare the value of Agent_Code = ZZSBRANCH + ZZSCODE, what should i do, this is my TMAP&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000rPFDHAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148209i9608723FF98D3EC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000rPFDHAA4.png" alt="0695b00000rPFDHAA4.png" /&gt;&lt;/span&gt;how should the query for tdbinput be like? SAPABAP1 as the first db, [NirvanaCRM].[dbo].[Agent_Path_Upline] as the second db (SQL Server),  please ignore upper part and focus on the highlighted part in image &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000rPFLGAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148433i9704F0B835044C25/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000rPFLGAA4.png" alt="0695b00000rPFLGAA4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:17:49 GMT</pubDate>
    <dc:creator>SJin1698390552</dc:creator>
    <dc:date>2024-11-15T21:17:49Z</dc:date>
    <item>
      <title>INNER JOIN for TDBINPUT 1 (JDBC) and TDBINPUT 2 (SQL Server)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/INNER-JOIN-for-TDBINPUT-1-JDBC-and-TDBINPUT-2-SQL-Server/m-p/2362978#M126993</link>
      <description>&lt;P&gt;Hi i am facing issue to inner join my two TDBINPUT, for Agent_Code in SQL Server db should have value like JB1234, while for ZZSBRANCH will be JB and ZZSCODE will be 1234, for me to compare the value of Agent_Code = ZZSBRANCH + ZZSCODE, what should i do, this is my TMAP&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000rPFDHAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148209i9608723FF98D3EC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000rPFDHAA4.png" alt="0695b00000rPFDHAA4.png" /&gt;&lt;/span&gt;how should the query for tdbinput be like? SAPABAP1 as the first db, [NirvanaCRM].[dbo].[Agent_Path_Upline] as the second db (SQL Server),  please ignore upper part and focus on the highlighted part in image &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000rPFLGAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148433i9704F0B835044C25/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000rPFLGAA4.png" alt="0695b00000rPFLGAA4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/INNER-JOIN-for-TDBINPUT-1-JDBC-and-TDBINPUT-2-SQL-Server/m-p/2362978#M126993</guid>
      <dc:creator>SJin1698390552</dc:creator>
      <dc:date>2024-11-15T21:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: INNER JOIN for TDBINPUT 1 (JDBC) and TDBINPUT 2 (SQL Server)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/INNER-JOIN-for-TDBINPUT-1-JDBC-and-TDBINPUT-2-SQL-Server/m-p/2362979#M126994</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Expresssion row1.ZZSBRANCH&amp;nbsp;+row.ZZSCODE will concatenate two string,  eg:&lt;/P&gt;&lt;P&gt;"JB"+"1234"==&amp;gt;"JB1234"&lt;/P&gt;&lt;P&gt;In your query,  the condition is&lt;/P&gt;&lt;P&gt;A.ZZSBRANCH&amp;nbsp;|| A.ZZSCODE=N.Agent_Code&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;These are two different logics, and the results are also different. If you want to get the same result using tMap as the query does. Do the inner join two times, one for ZZSBRANCH&amp;nbsp; and the other for ZZSCODE, merge the two output results, filter the duplicated rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 06:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/INNER-JOIN-for-TDBINPUT-1-JDBC-and-TDBINPUT-2-SQL-Server/m-p/2362979#M126994</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-30T06:18:01Z</dc:date>
    </item>
  </channel>
</rss>

