<?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] Updating existing Oracle rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318629#M88959</link>
    <description>Hi Sabrina, 
&lt;BR /&gt;At least as I understand it, this method only updates the numeric fields (Talk Time, Hold Time, etc) to equal the contents of subsequent records matching the key. My goal is to add the value of these fields from subsequent records to the values of the same fields in the records that already exist in the database. 
&lt;BR /&gt;For example: 
&lt;BR /&gt;If there is a record in the database already with the following values: 
&lt;BR /&gt; Date Lastname Firstname Teamname TalkTime Holdtime 
&lt;BR /&gt; 2013-03-14 Smith Fred Achievers 10 10 
&lt;BR /&gt;And a new record is with the following data is recieved 
&lt;BR /&gt; 2013-03-14 Smith Fred Achievers 40 20 
&lt;BR /&gt;The resulting recording in the database should be: 
&lt;BR /&gt; 2013-03-14 Smith Fred Achievers 50 30 
&lt;BR /&gt; 
&lt;BR /&gt;I'm looking into using tAggregate now, hopefully this is more of the correct approach.</description>
    <pubDate>Thu, 14 Mar 2013 14:06:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-14T14:06:54Z</dc:date>
    <item>
      <title>[resolved] Updating existing Oracle rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318627#M88957</link>
      <description>I am attempting to extract data from multiple instances of a Cache' database and import the resulting 
&lt;BR /&gt;rows into a single Oracle database table. The primary key of the Oracle table is a combination of: 
&lt;BR /&gt; Date, LastName, FirstName, TeamName. 
&lt;BR /&gt;The other values associated with each row are numeric. For example: Talk Time, Hold Time, Wait Time, etc. 
&lt;BR /&gt;The source of information can have multiple records with the same Date, LN, FN, TN. 
&lt;BR /&gt;The goal is to insert records into the Oracle table when no other records already exist with the Date, LN, FN, TN 
&lt;BR /&gt;combination. But when this combination already exists, the goal is to add the Talk Time, Hold Time Wait time 
&lt;BR /&gt;of the new record to the values that already exist in the record already in the database. 
&lt;BR /&gt;I've progressed to the point where I am extracting records from Cybase and can put duplicates into the Oracle tables. 
&lt;BR /&gt;Just not sure about how to structure the updates. 
&lt;BR /&gt;I'm a bit new to this. Any help is very much appreciated. 
&lt;BR /&gt;Brian Dailey 
&lt;BR /&gt;Map Communications, Inc.</description>
      <pubDate>Sat, 16 Nov 2024 12:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318627#M88957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Updating existing Oracle rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318628#M88958</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I've progressed to the point where I am extracting records from Cybase and can put duplicates into the Oracle tables.&lt;BR /&gt;Just not sure about how to structure the updates.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;If I understand you correctly, you are trying to insert a record if the key columns alreads exist, otherwise, update the record. Select the item "Update or Insert" in the list of 'Action on data' and check the option "Key" for the columns on the schema, please see my screenshots. 
&lt;BR /&gt;As a newbie, I encourage you to read the online manual of 
&lt;A href="https://help.talend.com/search/all?query=tOracleOutput&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tOracleOutput&lt;/A&gt;. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDs5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157707i1D1E1C424DDC26DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDs5.png" alt="0683p000009MDs5.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDlb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152162i465D60398047F453/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDlb.png" alt="0683p000009MDlb.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 14 Mar 2013 05:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318628#M88958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-14T05:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Updating existing Oracle rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318629#M88959</link>
      <description>Hi Sabrina, 
&lt;BR /&gt;At least as I understand it, this method only updates the numeric fields (Talk Time, Hold Time, etc) to equal the contents of subsequent records matching the key. My goal is to add the value of these fields from subsequent records to the values of the same fields in the records that already exist in the database. 
&lt;BR /&gt;For example: 
&lt;BR /&gt;If there is a record in the database already with the following values: 
&lt;BR /&gt; Date Lastname Firstname Teamname TalkTime Holdtime 
&lt;BR /&gt; 2013-03-14 Smith Fred Achievers 10 10 
&lt;BR /&gt;And a new record is with the following data is recieved 
&lt;BR /&gt; 2013-03-14 Smith Fred Achievers 40 20 
&lt;BR /&gt;The resulting recording in the database should be: 
&lt;BR /&gt; 2013-03-14 Smith Fred Achievers 50 30 
&lt;BR /&gt; 
&lt;BR /&gt;I'm looking into using tAggregate now, hopefully this is more of the correct approach.</description>
      <pubDate>Thu, 14 Mar 2013 14:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318629#M88959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-14T14:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Updating existing Oracle rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318630#M88960</link>
      <description>I would try to avoid that ! If your job does not work correctly you have no chance to fix your data! 
&lt;BR /&gt;And yes tAggregateRow is the one you need. If your data amount is to large for the in memory processing than use tAggregateSortedRow, it depends on sorted key fields an avoids memory consumption because it release all summary data sets which are already finished.</description>
      <pubDate>Thu, 14 Mar 2013 20:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318630#M88960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-14T20:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Updating existing Oracle rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318631#M88961</link>
      <description>Appreciate the incite.  I've got it working with tAggregateRow.  But it shouldn't be a problem to switch it to tAggregateSortedRow.</description>
      <pubDate>Thu, 14 Mar 2013 21:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Updating-existing-Oracle-rows/m-p/2318631#M88961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-14T21:31:34Z</dc:date>
    </item>
  </channel>
</rss>

