<?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: [resolved] Insert &amp; Update with tMap? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376565#M138686</link>
    <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;how should I create the mappings &amp;amp; lookup if I want to insert data into the database if the primary key value doesn't exists and update the existing data in the database if any data is changed.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Only select 'insert or update' item on action on data list, check 'key' box of primary key column on schema of tOracleOutput, don't need do any lookup on tMap. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
    <pubDate>Tue, 23 Feb 2010 06:15:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-02-23T06:15:05Z</dc:date>
    <item>
      <title>[resolved] Insert &amp; Update with tMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376564#M138685</link>
      <description>Hi,
&lt;BR /&gt;I am wondering how should I create the mappings &amp;amp; lookup if I want to insert data into the database if the primary key value doesn't exists and update the existing data in the database if any data is changed.
&lt;BR /&gt;My input is data from MySQL database and Output is an Oracle database. I have a simple mapping such as:
&lt;BR /&gt;tMySqlInput --&amp;gt; Main --&amp;gt; tMap --&amp;gt; Main --&amp;gt; tOracleOutput (with Action on Data = Insert)
&lt;BR /&gt;Based on the above mapping, how can I create mappings &amp;amp; lookup if there is new data from MySQL, data will be inserted into Oracle and if there is a data changed from MySQL, an update should be executed in Oracle? Should I create a tOracleInput as a lookup?
&lt;BR /&gt;Please any help is really appreciated!! 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Sat, 16 Nov 2024 13:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376564#M138685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Insert &amp; Update with tMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376565#M138686</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;how should I create the mappings &amp;amp; lookup if I want to insert data into the database if the primary key value doesn't exists and update the existing data in the database if any data is changed.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Only select 'insert or update' item on action on data list, check 'key' box of primary key column on schema of tOracleOutput, don't need do any lookup on tMap. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 23 Feb 2010 06:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376565#M138686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-23T06:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Insert &amp; Update with tMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376566#M138687</link>
      <description>Hi Shong, 
&lt;BR /&gt;Thanks! It works great; however, can you please explain the difference between "insert or update" &amp;amp; "update or insert" items in action on data list? Is the difference on the sequence which action is triggered first? 
&lt;BR /&gt;Thanks again</description>
      <pubDate>Tue, 23 Feb 2010 20:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376566#M138687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-23T20:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Insert &amp; Update with tMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376567#M138688</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Is the difference on the sequence which action is triggered first?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;We can say that it get the same result between "insert or update" &amp;amp; "update or insert", the only difference is which action is triggered first as you said. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 24 Feb 2010 02:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376567#M138688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-24T02:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Insert &amp; Update with tMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376568#M138689</link>
      <description>If you expect more data to be inserted than data to be updated, use Insert or Update and viceversa.</description>
      <pubDate>Wed, 24 Feb 2010 08:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376568#M138689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-24T08:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Insert &amp; Update with tMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376569#M138690</link>
      <description>it doesn't work for me 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;!!!!</description>
      <pubDate>Mon, 29 Mar 2010 13:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376569#M138690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-29T13:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Insert &amp; Update with tMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376570#M138691</link>
      <description>Hello 
&lt;BR /&gt;To imanouch87, please create a new topic and describe your problem.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 30 Mar 2010 03:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376570#M138691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-30T03:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Insert &amp; Update with tMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376571#M138692</link>
      <description>Can u please provide any screen shots for this.....? which can help us too good.</description>
      <pubDate>Fri, 24 May 2013 07:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Insert-Update-with-tMap/m-p/2376571#M138692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-24T07:01:22Z</dc:date>
    </item>
  </channel>
</rss>

