<?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: Need help writing unique entries to a database in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346691#M114067</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;On tMssqlOutput component, select &lt;B&gt;Insert if not exist&amp;nbsp;&lt;/B&gt;option in the action on data table, this option&lt;B&gt; &lt;/B&gt;add new entries to the table if they do not exist.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000db0udAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134937iFEA3885AFCFDF009/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000db0udAAA.png" alt="0695b00000db0udAAA.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2023 02:30:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-02-10T02:30:09Z</dc:date>
    <item>
      <title>Need help writing unique entries to a database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346690#M114066</link>
      <description>&lt;P&gt;I am getting data from an MSSQL database and writing it out to a MySQL database, however I want this job to only bring in new data entries, so in the database I have set the column as a unique field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case every time the job runs it will get existing entries and new ones from the MSSQL database, however my expectation is that it should get all of the new entries and bring them into MYSQL database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can think of using a tmap to see if entries exist otherwise if they don't bring them in, however I feel like there should be a default option on the database component itself to help with this? Any ideas or suggestions? With the current setup it fails because it detects existing entries already and stops the job instead of going through all of the entries and bring in new ones.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346690#M114066</guid>
      <dc:creator>JayZ1</dc:creator>
      <dc:date>2024-11-15T22:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing unique entries to a database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346691#M114067</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;On tMssqlOutput component, select &lt;B&gt;Insert if not exist&amp;nbsp;&lt;/B&gt;option in the action on data table, this option&lt;B&gt; &lt;/B&gt;add new entries to the table if they do not exist.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000db0udAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134937iFEA3885AFCFDF009/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000db0udAAA.png" alt="0695b00000db0udAAA.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 02:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346691#M114067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-10T02:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing unique entries to a database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346692#M114068</link>
      <description>&lt;P&gt;Hi Shong, That does not show on my MySQL database component.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 22:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346692#M114068</guid>
      <dc:creator>JayZ1</dc:creator>
      <dc:date>2023-02-10T22:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing unique entries to a database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346693#M114069</link>
      <description>&lt;P&gt;@Harjot Toor​&amp;nbsp;sorry, I thought you used MSSQL Server DB, with MYSQL database, you can try insert ignore option, this option will ignore the error such as duplicate entries keys and continue to insert the rest records. If you want to get the entries which don't exist in target DB and only insert these non-existing entries into target DB, you need to do an inner join between the source data and all of target data, please refer to this KB &lt;A href="https://community.talend.com/s/article/Doing-an-inner-join-using-a-tMap-component-i5Mrr" alt="https://community.talend.com/s/article/Doing-an-inner-join-using-a-tMap-component-i5Mrr" target="_blank"&gt;article&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2023 01:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346693#M114069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-11T01:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing unique entries to a database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346694#M114070</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbKPzAAM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145869i375E9B460A06D315/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbKPzAAM.png" alt="0695b00000dbKPzAAM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbKPuAAM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141493i05E25253C540BE8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbKPuAAM.png" alt="0695b00000dbKPuAAM.png" /&gt;&lt;/span&gt;So I have added a lookup from the source database in which I do a lookup. What other things should I do to complete this so it brings in only new entries?&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2023 01:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346694#M114070</guid>
      <dc:creator>JayZ1</dc:creator>
      <dc:date>2023-02-11T01:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing unique entries to a database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346695#M114071</link>
      <description>&lt;P&gt;@Harjot Toor​&amp;nbsp;, all entries from the target DB will be lookup table, the source data will be main flow. Take a look at the KB &lt;A href="https://community.talend.com/s/article/Doing-an-inner-join-using-a-tMap-component-i5Mrr" alt="https://community.talend.com/s/article/Doing-an-inner-join-using-a-tMap-component-i5Mrr" target="_blank"&gt;article &lt;/A&gt;to learn how to get the unmatched rows, the unmatched rows are the entries which does not exist in target DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Feb 2023 23:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-writing-unique-entries-to-a-database/m-p/2346695#M114071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-12T23:30:59Z</dc:date>
    </item>
  </channel>
</rss>

