<?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: ELT merge and target operations in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/ELT-merge-and-target-operations/m-p/2527065#M147869</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/306239"&gt;@lucaL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my experience, I don't think you can perform both operations (insert, update) simultaneously in a tELTOracleOutput.&lt;/P&gt;&lt;P&gt;But you can do it with a tSQLTemplateMerge. You can use this component's configuration as a guide, as shown below :&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1755006148202.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182776i45282452785CEBF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1755006148202.png" alt="Dave_Simo_0-1755006148202.png" /&gt;&lt;/span&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;U&gt;Source&lt;/U&gt;&lt;/STRONG&gt; : &lt;A href="https://help.qlik.com/talend/fr-FR/components/8.0/sqltemplate/tsqltemplatemerge-tsqltemplatecommit-tmysqlinput-tmysqlcommit-merging-data-directly-on-dbms-standard-component-this" target="_blank"&gt;https://help.qlik.com/talend/fr-FR/components/8.0/sqltemplate/tsqltemplatemerge-tsqltemplatecommit-tmysqlinput-tmysqlcommit-merging-data-directly-on-dbms-standard-component-this&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Tue, 12 Aug 2025 13:43:49 GMT</pubDate>
    <dc:creator>Dave_Simo</dc:creator>
    <dc:date>2025-08-12T13:43:49Z</dc:date>
    <item>
      <title>ELT merge and target operations</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ELT-merge-and-target-operations/m-p/2526947#M147865</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We are developing an ELT process using oracle merge, where a column to be updated needs to have as the new value the greatest between the new value and the target current value.&lt;/P&gt;&lt;P&gt;In sql it would be something like:&lt;/P&gt;&lt;DIV class=""&gt;MERGE INTO myTable target USING (&lt;/DIV&gt;&lt;DIV class=""&gt;SELECT a, b FROM newTable) Source&lt;/DIV&gt;&lt;DIV class=""&gt;ON (target.a = source.a)&lt;/DIV&gt;&lt;DIV class=""&gt;WHEN MATCHED THEN UPDATE SET&lt;/DIV&gt;&lt;DIV class=""&gt;target.b = greatest(source.b, target.b)&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;WHEN NOT MATCHED THEN INSERT&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;(target.a, target.b)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;VALUES (source.a, source.b)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Any way to make the same using the tELTOracleOutput? &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Aug 2025 12:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ELT-merge-and-target-operations/m-p/2526947#M147865</guid>
      <dc:creator>lucaL</dc:creator>
      <dc:date>2025-08-12T12:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: ELT merge and target operations</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ELT-merge-and-target-operations/m-p/2527065#M147869</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/306239"&gt;@lucaL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my experience, I don't think you can perform both operations (insert, update) simultaneously in a tELTOracleOutput.&lt;/P&gt;&lt;P&gt;But you can do it with a tSQLTemplateMerge. You can use this component's configuration as a guide, as shown below :&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1755006148202.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182776i45282452785CEBF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1755006148202.png" alt="Dave_Simo_0-1755006148202.png" /&gt;&lt;/span&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;U&gt;Source&lt;/U&gt;&lt;/STRONG&gt; : &lt;A href="https://help.qlik.com/talend/fr-FR/components/8.0/sqltemplate/tsqltemplatemerge-tsqltemplatecommit-tmysqlinput-tmysqlcommit-merging-data-directly-on-dbms-standard-component-this" target="_blank"&gt;https://help.qlik.com/talend/fr-FR/components/8.0/sqltemplate/tsqltemplatemerge-tsqltemplatecommit-tmysqlinput-tmysqlcommit-merging-data-directly-on-dbms-standard-component-this&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 13:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ELT-merge-and-target-operations/m-p/2527065#M147869</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-08-12T13:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: ELT merge and target operations</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ELT-merge-and-target-operations/m-p/2527067#M147870</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for the repoly. This works almost as the TELTOracleOutput whene you choose the merge operation. The problem is still the same, I think, you cannot use the target table values on the update statement, since talend use just the "target.column = source.column" logic... It seems there is no way to define a different logic, as would be "target.colum = target.column + source.column"... Isn't it?&lt;/P&gt;&lt;P&gt;Regards &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 13:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ELT-merge-and-target-operations/m-p/2527067#M147870</guid>
      <dc:creator>lucaL</dc:creator>
      <dc:date>2025-08-12T13:49:53Z</dc:date>
    </item>
  </channel>
</rss>

