<?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: Check if row is inserted or updated in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370454#M133494</link>
    <description>Thanks for the reply. 
&lt;BR /&gt;Maybe it's a solution, now i try 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Tue, 16 Jun 2015 19:13:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-16T19:13:52Z</dc:date>
    <item>
      <title>Check if row is inserted or updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370450#M133490</link>
      <description>Hi, 
&lt;BR /&gt;I make a job for read a txt file and write a mysql table. 
&lt;BR /&gt;I want write a log line for each row inserted and each row updated. 
&lt;BR /&gt;I know how write the number of total row with NB_LINE_INSERTED but i want the details of row inserted. 
&lt;BR /&gt;Thx</description>
      <pubDate>Mon, 15 Jun 2015 16:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370450#M133490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-15T16:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Check if row is inserted or updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370451#M133491</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt; i want the details of row inserted&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Are you referring to Traces debug mode?
&lt;BR /&gt;
&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=261412634" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:How to run a Job in Traces Debug mode&lt;/A&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 16 Jun 2015 09:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370451#M133491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-16T09:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Check if row is inserted or updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370452#M133492</link>
      <description>Debug mode is not useful for my job. 
&lt;BR /&gt;I want write in log file whats is updated or inserted for further analisys and for re-launch the job with only the rows not inserted or updated 
&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 16 Jun 2015 11:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370452#M133492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-16T11:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Check if row is inserted or updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370453#M133493</link>
      <description>Hi Saxmor, 
&lt;BR /&gt;Do you let the t{database}Output component decide whether to Insert or Update? If so, then this will not be a case of simply switching on a parameter. What you are asking is a pretty unusual requirement as logging the action of each row being Inserted or Updated will massively impeded the performance, unless you do it in a clever way. For example, do you have control over the structure of the table being imported into? If so, can you add a an insertDate and updateDate column? Also, does a key that exists in your flat file exist in your db table? With this, you can add a time stamp of when your data was inserted or updated (identifying the Insert or Update for each row for that run) and then you can link back to your original data file using the key. The insertDate and updateDate columns can be set to only be written to if the record is inserted (for insertDate) or updated (for updateDate) using the Advanced settings of the t{database}Output component. 
&lt;BR /&gt;Talend does not provide an option to solve this problem "out of the box", but you can work one in quite easily, as described above 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Richard</description>
      <pubDate>Tue, 16 Jun 2015 12:03:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370453#M133493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-16T12:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Check if row is inserted or updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370454#M133494</link>
      <description>Thanks for the reply. 
&lt;BR /&gt;Maybe it's a solution, now i try 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 16 Jun 2015 19:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Check-if-row-is-inserted-or-updated/m-p/2370454#M133494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-16T19:13:52Z</dc:date>
    </item>
  </channel>
</rss>

