<?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 check if a record Exists in DB in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248525#M33357</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We can add a combobox called ACTION on the tDBOutput component. &lt;/P&gt;&lt;P&gt;ACTION properties will be "INSERT", "UPDATE", "INSERT OR UPDATE" or "UPDATE OR INSERT". &lt;/P&gt;&lt;P&gt;"INSERT OR UPDATE" means if the insertion failed, update operation will be perform.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 03:28:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-22T03:28:41Z</dc:date>
    <item>
      <title>How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248513#M33345</link>
      <description>I have a folder of excel files&lt;BR /&gt;Talend package reads the folder and for each excel file in the folder it unpivots the content of the excel file and inserts in a MSSQL database.&lt;BR /&gt;Now the same row/record could exist in multiple files and thats why we keep getting duplicates in the database.&lt;BR /&gt;if someone could help me understand, if there is a way to check if the record exists in MSSQL DB, before inserting then i can skip duplicates and just get unique records. Please see the attached screenshot.&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 17 Jul 2012 19:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248513#M33345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-17T19:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248514#M33346</link>
      <description>Can someone from the expert talend team point me in right direction please. I would highly appreciate it.</description>
      <pubDate>Tue, 17 Jul 2012 20:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248514#M33346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-17T20:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248515#M33347</link>
      <description>Can you add a unique key to your database table? If you then set the MSSQL component to be "Insert if not exist", this would stop duplicates being inserted.</description>
      <pubDate>Tue, 17 Jul 2012 20:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248515#M33347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-17T20:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248516#M33348</link>
      <description>Thank You. Very Helpful. What should i do if i want to update the existing record instead of skipping it? Is there an option in the tMSSQL component for this as well?</description>
      <pubDate>Tue, 17 Jul 2012 20:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248516#M33348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-17T20:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248517#M33349</link>
      <description>OK - set the action on data to be "Update or insert". This updates existing entries or create it if non existing.</description>
      <pubDate>Tue, 17 Jul 2012 20:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248517#M33349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-17T20:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248518#M33350</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;OK - set the action on data to be "Update or insert". This updates existing entries or create it if non existing.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hi,
&lt;BR /&gt; For the Update or insert otpion in mysql output it requires a primary key. So how to get the primary keys from db and assign it to the rows in excel sheet. Kindly help.
&lt;BR /&gt;
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Senthil</description>
      <pubDate>Wed, 10 Jul 2013 02:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248518#M33350</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-07-10T02:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248519#M33351</link>
      <description>Hi Senthil, 
&lt;BR /&gt;I have replied your related forum 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCr4ECAS" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/how-to-fetch-primary-keys-from-db-and-set-it-to-tmap-entries/td-p/113170&lt;/A&gt;, feel free post your issue on forum. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 10 Jul 2013 04:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248519#M33351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-10T04:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248520#M33352</link>
      <description>hi &lt;BR /&gt;&lt;BR /&gt;"insert if not exist" option is not available in tverticaoutput component(TOS) how to achieve this case in vertica database.</description>
      <pubDate>Tue, 17 Dec 2013 06:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248520#M33352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-17T06:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248521#M33353</link>
      <description>Hi, 
&lt;BR /&gt;So far, there is no "insert if not exist" option in tverticaoutput.
&lt;BR /&gt;As alternative, you can set any primary key you wanted in schema setting by manual(checkout the "Key" option) .
&lt;BR /&gt;and take the "Update or insert" data action in tverticaoutput.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 17 Dec 2013 07:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248521#M33353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-17T07:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248522#M33354</link>
      <description>Hi,
&lt;BR /&gt;I want to convert excel sheet to mysql table.MySQl table has id which is auto increment.
&lt;BR /&gt;I have list of user in excel sheet which might contain duplicate.I have Insert ignore option which give me correct record but when add new record in existing excel file . auto increment value is almost double. for example&amp;nbsp;
&lt;BR /&gt;I have list of user 20 distinct values first time in excel file but i have added one more and try to run same excel file . the auto increment value for new record will be 41 but i want 21. is it posible?
&lt;BR /&gt;please let me know..its very urgent.
&lt;BR /&gt;Thank you in advance.</description>
      <pubDate>Wed, 28 Sep 2016 19:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248522#M33354</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-09-28T19:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248523#M33355</link>
      <description>You can dump the data from all the excel files in 1 table. Post that you can only move unique or latest records in your actual table.</description>
      <pubDate>Thu, 29 Sep 2016 05:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248523#M33355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-29T05:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248524#M33356</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have to perform "insert if not exist" into tables that don't have any primary key. I cannot edit database tables' definition in order to add primary keys.&lt;/P&gt;&lt;P&gt;If I manually set primary key fields in the schema retrieved by Talend, will Talend be able to avoid creating duplicates of existing rows then?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Mick&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 09:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248524#M33356</guid>
      <dc:creator>mmctony</dc:creator>
      <dc:date>2022-09-21T09:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a record Exists in DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248525#M33357</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We can add a combobox called ACTION on the tDBOutput component. &lt;/P&gt;&lt;P&gt;ACTION properties will be "INSERT", "UPDATE", "INSERT OR UPDATE" or "UPDATE OR INSERT". &lt;/P&gt;&lt;P&gt;"INSERT OR UPDATE" means if the insertion failed, update operation will be perform.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 03:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-record-Exists-in-DB/m-p/2248525#M33357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-22T03:28:41Z</dc:date>
    </item>
  </channel>
</rss>

