<?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 Insert else Update(Update Strategy) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Insert-else-Update-Update-Strategy/m-p/2298706#M71137</link>
    <description>Hi 
&lt;BR /&gt; I am basically trying to insert a record if not present in target else update it based on some key columns. 
&lt;BR /&gt;After reading through in this forum i noticed tMap is right component to achieve it. 
&lt;BR /&gt;In Tmap ---&amp;gt; Row1 -------------------------- |---If Match -----------------Update(Settting ?) 
&lt;BR /&gt; | | Inner Join-- 
&lt;BR /&gt; ----&amp;gt; Row 2(lookup target table) --- |-- Else(Reject records) ---Insert(Setting ?) 
&lt;BR /&gt;My target table is MYSQL table with the primary key set as AutoIncrement(Sequence Generator for new key records inserted) 
&lt;BR /&gt;My Question is 
&lt;BR /&gt;1) where do we specify/set the action(update,insert) for the two output flows from tMap? 
&lt;BR /&gt;2) Where do we specify the Target Load Order(In which order the target tables to be loaded?) 
&lt;BR /&gt;Something like DD_UPDATE,DD_INSERT settings we use in Update Strategy Transformation in Informatica for these kind of scenarios. 
&lt;BR /&gt;If someone can share the settings info it would be great since i am in the process of learning Talend Tool. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Ramki</description>
    <pubDate>Thu, 24 May 2012 20:19:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-24T20:19:48Z</dc:date>
    <item>
      <title>Insert else Update(Update Strategy)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-else-Update-Update-Strategy/m-p/2298706#M71137</link>
      <description>Hi 
&lt;BR /&gt; I am basically trying to insert a record if not present in target else update it based on some key columns. 
&lt;BR /&gt;After reading through in this forum i noticed tMap is right component to achieve it. 
&lt;BR /&gt;In Tmap ---&amp;gt; Row1 -------------------------- |---If Match -----------------Update(Settting ?) 
&lt;BR /&gt; | | Inner Join-- 
&lt;BR /&gt; ----&amp;gt; Row 2(lookup target table) --- |-- Else(Reject records) ---Insert(Setting ?) 
&lt;BR /&gt;My target table is MYSQL table with the primary key set as AutoIncrement(Sequence Generator for new key records inserted) 
&lt;BR /&gt;My Question is 
&lt;BR /&gt;1) where do we specify/set the action(update,insert) for the two output flows from tMap? 
&lt;BR /&gt;2) Where do we specify the Target Load Order(In which order the target tables to be loaded?) 
&lt;BR /&gt;Something like DD_UPDATE,DD_INSERT settings we use in Update Strategy Transformation in Informatica for these kind of scenarios. 
&lt;BR /&gt;If someone can share the settings info it would be great since i am in the process of learning Talend Tool. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Ramki</description>
      <pubDate>Thu, 24 May 2012 20:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-else-Update-Update-Strategy/m-p/2298706#M71137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-24T20:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Insert else Update(Update Strategy)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-else-Update-Update-Strategy/m-p/2298707#M71138</link>
      <description>Depending on whether or not you want to update all fields when finding a match, you could just use the Action On Data setting in the tMySQLOutput adn choose one of the following settings: 
&lt;BR /&gt;Insert or Update 
&lt;BR /&gt;Insert or Update on duplicate key or unique index 
&lt;BR /&gt;Update or Insert 
&lt;BR /&gt;And for the next inevitable question: 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCjstCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/How-does-tPostgresqlOutput-Update-work/td-p/70748&lt;/A&gt;</description>
      <pubDate>Thu, 24 May 2012 22:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-else-Update-Update-Strategy/m-p/2298707#M71138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-24T22:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Insert else Update(Update Strategy)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-else-Update-Update-Strategy/m-p/2298708#M71139</link>
      <description>Thank you.So basically we will have two outputs flows to tMYSQLOUTPUT from tMAP one for Insert and another for Update. 
&lt;BR /&gt;And we will need to set the Action on data as Insert and Update respectively. 
&lt;BR /&gt;But for my second question the forum link you have given does not answer it. 
&lt;BR /&gt;Where is the option available to set the target Load Order if we have mutiple targets from a single flow 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Ramki</description>
      <pubDate>Thu, 24 May 2012 23:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-else-Update-Update-Strategy/m-p/2298708#M71139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-24T23:28:49Z</dc:date>
    </item>
  </channel>
</rss>

