<?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 Clarification on tDBOutput component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Clarification-on-tDBOutput-component/m-p/2290113#M144728</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you clarify on tDBOutput component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a job I wanted to&amp;nbsp;read data joining 3&amp;nbsp;tables to populate data on 2 tables (on update).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will have a tDBInput (select with data to populate master and history table).&lt;/P&gt;
&lt;P&gt;This tDBInput will be connected to tDBOutput_1 where I wanted to update table1(primary key), only for the records&amp;nbsp;that&amp;nbsp;matches the primary key.&lt;/P&gt;
&lt;P&gt;This will be followed by another tDBOutput_2 for update only for the records that matches the primary key.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question is: tDBOutput for update table, will it match the primary key and update for the records that matches the primary. For unmatched records will it ignore or does insert?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:02:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:02:40Z</dc:date>
    <item>
      <title>Clarification on tDBOutput component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Clarification-on-tDBOutput-component/m-p/2290113#M144728</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you clarify on tDBOutput component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a job I wanted to&amp;nbsp;read data joining 3&amp;nbsp;tables to populate data on 2 tables (on update).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will have a tDBInput (select with data to populate master and history table).&lt;/P&gt;
&lt;P&gt;This tDBInput will be connected to tDBOutput_1 where I wanted to update table1(primary key), only for the records&amp;nbsp;that&amp;nbsp;matches the primary key.&lt;/P&gt;
&lt;P&gt;This will be followed by another tDBOutput_2 for update only for the records that matches the primary key.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question is: tDBOutput for update table, will it match the primary key and update for the records that matches the primary. For unmatched records will it ignore or does insert?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Clarification-on-tDBOutput-component/m-p/2290113#M144728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on tDBOutput component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Clarification-on-tDBOutput-component/m-p/2290114#M144729</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; In the below flow, I had kept the Action on data as Update and tried to add a new record with key value as "5".&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; But the flow ignored the new record and successfully completed.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1fx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150042iD4DF6BDECC59717C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1fx.png" alt="0683p000009M1fx.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So if you are trying to do both insert and update , i would suggest to appropriate "Insert or Update" or "Update&amp;nbsp; or Insert" options so that records will not be skipped.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If the answer has helped you, could you please mark the topic as resolved? Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 20:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Clarification-on-tDBOutput-component/m-p/2290114#M144729</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-14T20:05:28Z</dc:date>
    </item>
  </channel>
</rss>

