<?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: How to make &amp;quot;insert table&amp;quot; wihtout duplicate input data? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201906#M3813</link>
    <description>I have the same problem and I can't resolve it with the solution of Shong because my table have only one column and this is the key so the generated update request make a runtime error : 
&lt;BR /&gt; UPDATE matable SET WHERE monchamp='mavalue'</description>
    <pubDate>Wed, 13 Aug 2008 16:57:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-08-13T16:57:32Z</dc:date>
    <item>
      <title>How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201904#M3811</link>
      <description>Hi, &lt;BR /&gt;I load data from table 1 to table 2. And every time I run Talend job, it will insert duplicate data to table 2. How can I make this to throw exception or SQL constraint?&lt;BR /&gt;Thanks,&lt;BR /&gt;Vincent</description>
      <pubDate>Sat, 16 Nov 2024 14:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201904#M3811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201905#M3812</link>
      <description>Hello 
&lt;BR /&gt;You should select 'Update or Insert' on 'Action on data' list. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 07 Aug 2008 03:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201905#M3812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-07T03:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201906#M3813</link>
      <description>I have the same problem and I can't resolve it with the solution of Shong because my table have only one column and this is the key so the generated update request make a runtime error : 
&lt;BR /&gt; UPDATE matable SET WHERE monchamp='mavalue'</description>
      <pubDate>Wed, 13 Aug 2008 16:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201906#M3813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-13T16:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201907#M3814</link>
      <description>Laurie, 
&lt;BR /&gt;Your SQL is in the wrong format. 
&lt;BR /&gt;I believe it should be something like: 
&lt;BR /&gt;UPDATE matable SET column='value' WHERE monchamp='mavalue'</description>
      <pubDate>Wed, 13 Aug 2008 19:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201907#M3814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-13T19:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201908#M3815</link>
      <description>SMaz, 
&lt;BR /&gt;Yes I know it's the wrong format !!! 
&lt;BR /&gt;This is the code generated by Talend in case of update table with only key columns.</description>
      <pubDate>Thu, 14 Aug 2008 08:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201908#M3815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-14T08:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201909#M3816</link>
      <description>Hi&lt;BR /&gt;Why don't you use a lookup for keys that already exist in the table, and just perform the insert.  If there is too much data for a lookup, I normally code my source query to exclude keys already in the target.  Let the DBMS do the work for you.&lt;BR /&gt;philip</description>
      <pubDate>Fri, 15 Aug 2008 15:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201909#M3816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-15T15:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201910#M3817</link>
      <description>Hello laurie, 
&lt;BR /&gt;I can realy understand you, I have this problem very often (but every time solved). 
&lt;BR /&gt;Shong gave me the hint to look at the advanced tab. Set the option "Use field option". And at this point it takes me some tests to set the combination that works to solve the problem (but actual I haven't understand what the effect of my changes to the generated SQL are...) 
&lt;BR /&gt;Hope this helps you too. 
&lt;BR /&gt;Bye 
&lt;BR /&gt;Volker</description>
      <pubDate>Fri, 15 Aug 2008 21:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201910#M3817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-15T21:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201911#M3818</link>
      <description>I know the Fields Options but in my case it doesn't work because all my table columns are part of the primary key so I don't have updatable columns and the consequence is a bad generated SQL request.
&lt;BR /&gt;In my table, I have 2 colums taht are keys in update and non updatable.
&lt;BR /&gt;The generated request is :
&lt;BR /&gt;java.sql.PreparedStatement pstmtUpdate_tMSSqlOutput_1 = conn_tMSSqlOutput_1
&lt;BR /&gt; .prepareStatement("UPDATE 
&lt;BR /&gt; SET WHERE = ? AND = ?");</description>
      <pubDate>Mon, 18 Aug 2008 09:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201911#M3818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-18T09:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201912#M3819</link>
      <description>Hello laurie,&lt;BR /&gt;can you please give me a short example of the table structure, the attributes of your dataflow and your data?&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
      <pubDate>Tue, 19 Aug 2008 22:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201912#M3819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-19T22:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201913#M3820</link>
      <description>It is working for me.
&lt;BR /&gt;When I check for the key column (my only column) the option ?Key in update? the SQL changes from ?UPDATE table SET WHERE key = ?? to ?UPDATE table SET key = ? WHERE key = ??
&lt;BR /&gt;It may execute unnecessary SQL but it prevents trying to insert duplicate rows.
&lt;BR /&gt;Thanks Volker, I read your post when browsing the forum and run into the problem 5 minutes, after when I continued working on my project. This, I call timing.</description>
      <pubDate>Thu, 21 Aug 2008 11:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201913#M3820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-21T11:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201914#M3821</link>
      <description>All apologies, you're right, if I check the key column as "Key in update" and "Updatable" it works...
&lt;BR /&gt;But there is an unecessary update that is done.
&lt;BR /&gt;Thanks for your help Vaiko and Volker.
&lt;BR /&gt;But I think that an action on data "Insert if not exists" can be interesting to manage this case and other case when you don't want to update your data.</description>
      <pubDate>Thu, 21 Aug 2008 13:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201914#M3821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-21T13:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201915#M3822</link>
      <description>Hello laurie,&lt;BR /&gt;please add a feature request in the BugTracker. Better than "Insert if not exist" would be "Ignore duplicate key error on insert" I think. Your version sound like a (unnecessary) select will be executed before the insert.&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
      <pubDate>Thu, 21 Aug 2008 20:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201915#M3822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-21T20:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201916#M3823</link>
      <description>Hi Volker,&lt;BR /&gt;I've already did it : &lt;A href="http://www.talendforge.org/bugs/view.php?id=4818" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/bugs/view.php?id=4818&lt;/A&gt;&lt;BR /&gt;Laurie</description>
      <pubDate>Thu, 21 Aug 2008 23:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201916#M3823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-21T23:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201917#M3824</link>
      <description>This hint below is very useful. 
&lt;BR /&gt;"Shong gave me the hint to look at the advanced tab. Set the option "Use field option" ... "
&lt;BR /&gt;Took me a couple of hours to work that out.</description>
      <pubDate>Thu, 24 Sep 2009 04:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201917#M3824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-24T04:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to make "insert table" wihtout duplicate input data?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201918#M3825</link>
      <description>Hi,&lt;BR /&gt;  could you please provide the "insert if not exists" functionality also for the tOracleOutput component? (I have also a unique constratint which&lt;BR /&gt;give an ORA-... error when someone tries to insert a duplicate...)&lt;BR /&gt;That would help a lot as Oracle is the industry standard...&lt;BR /&gt;Thanks,&lt;BR /&gt;dstefane</description>
      <pubDate>Wed, 25 May 2011 12:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-make-quot-insert-table-quot-wihtout-duplicate-input-data/m-p/2201918#M3825</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-05-25T12:36:18Z</dc:date>
    </item>
  </channel>
</rss>

