<?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 for Oracle (or other DB) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/ELT-Merge-for-Oracle-or-other-DB/m-p/2230226#M20920</link>
    <description>Hi, &lt;BR /&gt;We have tow csv file ,&lt;BR /&gt;F1 :&lt;BR /&gt;A B C, A and B and C are the columns&lt;BR /&gt;1 2 3&lt;BR /&gt;1 4 9&lt;BR /&gt;F2:&lt;BR /&gt;D E , D and E are the columns&lt;BR /&gt;0 0&lt;BR /&gt;0 1&lt;BR /&gt;How to merge/append the tow file , If I want to copy/append or merge the tow file to obtain one file like &lt;BR /&gt;F3 :&lt;BR /&gt;A B C   D E&lt;BR /&gt;1 2 3    0 0&lt;BR /&gt;1 4 9    0 1&lt;BR /&gt;How to process ? which coponent to use ?&lt;BR /&gt;Thanks</description>
    <pubDate>Thu, 22 Nov 2012 10:07:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-22T10:07:10Z</dc:date>
    <item>
      <title>ELT Merge for Oracle (or other DB)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ELT-Merge-for-Oracle-or-other-DB/m-p/2230225#M20919</link>
      <description>Hi All
&lt;BR /&gt;Talend 4.2.3 , Oracle 11g
&lt;BR /&gt;Simplest example :
&lt;BR /&gt;Connection --&amp;gt; Merge
&lt;BR /&gt;Source and Target tables are same fortest : "TEST"
&lt;BR /&gt;Merged ON : ID1
&lt;BR /&gt;Only Update
&lt;BR /&gt;Only 1 field : VENDOR_CODE
&lt;BR /&gt;I got error :
&lt;BR /&gt;Exception in component tSQLTemplateMerge_1
&lt;BR /&gt;java.sql.BatchUpdateException: error occurred during batching: ORA-00971: missing SET keyword
&lt;BR /&gt;oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:732)
&lt;BR /&gt;See java code at 732 : 
&lt;BR /&gt;public String pid = "0";
&lt;BR /&gt;I wonder - it is simplest case 
&lt;BR /&gt;but I can't get any other info about error to clear s
&lt;BR /&gt;?1 ) Any ideas how to find reason of error ?
&lt;BR /&gt;?2) Seems I can't use SQL query as Source for merging</description>
      <pubDate>Wed, 10 Oct 2012 15:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ELT-Merge-for-Oracle-or-other-DB/m-p/2230225#M20919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-10T15:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: ELT Merge for Oracle (or other DB)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ELT-Merge-for-Oracle-or-other-DB/m-p/2230226#M20920</link>
      <description>Hi, &lt;BR /&gt;We have tow csv file ,&lt;BR /&gt;F1 :&lt;BR /&gt;A B C, A and B and C are the columns&lt;BR /&gt;1 2 3&lt;BR /&gt;1 4 9&lt;BR /&gt;F2:&lt;BR /&gt;D E , D and E are the columns&lt;BR /&gt;0 0&lt;BR /&gt;0 1&lt;BR /&gt;How to merge/append the tow file , If I want to copy/append or merge the tow file to obtain one file like &lt;BR /&gt;F3 :&lt;BR /&gt;A B C   D E&lt;BR /&gt;1 2 3    0 0&lt;BR /&gt;1 4 9    0 1&lt;BR /&gt;How to process ? which coponent to use ?&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 22 Nov 2012 10:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ELT-Merge-for-Oracle-or-other-DB/m-p/2230226#M20920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-22T10:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: ELT Merge for Oracle (or other DB)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ELT-Merge-for-Oracle-or-other-DB/m-p/2230227#M20921</link>
      <description>Hi,
&lt;BR /&gt;I have faced same issue...
&lt;BR /&gt;The reason for error is, tSQLMergeTemplate use the following SQL to merge the tables. Instead of using MERGE it uses UPDATE statement to merge the tables. 
&lt;BR /&gt;UPDATE TABLE_1,TABLE_2
&lt;BR /&gt;SET COLUMN_NAME=VALUE
&lt;BR /&gt;And this SQL statement is not correct for Oracle and as well as for MSSQL.
&lt;BR /&gt;
&lt;BR /&gt;Actual SQL generated is :
&lt;BR /&gt;"UPDATE "
&lt;BR /&gt;+ "ELT_EMP"
&lt;BR /&gt;+ ", "
&lt;BR /&gt;+ "EMP"
&lt;BR /&gt;+ " SET "
&lt;BR /&gt;+ updateStr
&lt;BR /&gt;+ " WHERE ("+ mergeOnStrUpdate+ ")"+ (hasUpdateWhereClause ?
&lt;BR /&gt;
&lt;BR /&gt;I didn't get resolution over it .because we cannot edit the java code..
&lt;BR /&gt;
&lt;BR /&gt;Regards,
&lt;BR /&gt;Rahul</description>
      <pubDate>Wed, 16 Jan 2013 12:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ELT-Merge-for-Oracle-or-other-DB/m-p/2230227#M20921</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-01-16T12:54:11Z</dc:date>
    </item>
  </channel>
</rss>

