<?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: Insert Flag update to &amp;quot;Y' for SCD Type 2 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Insert-Flag-update-to-quot-Y-for-SCD-Type-2/m-p/2228235#M19565</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Below link can help you to create MD5 hash.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCqWfCAK" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/How-to-generate-MD5-hash-value/td-p/43927&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Once the hash value is present, its a matter of doing inner join between main table and new data available in staging table. All matched columns can be marked as Update and all unmatched are candidates for insert.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2019 13:50:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-30T13:50:21Z</dc:date>
    <item>
      <title>Insert Flag update to "Y' for SCD Type 2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Flag-update-to-quot-Y-for-SCD-Type-2/m-p/2228234#M19564</link>
      <description>&lt;P&gt;Hello Talendians,&lt;/P&gt; 
&lt;P&gt;I am trying to implement SCD type 2 in Talend using Flags. I know we can separate the inserts and updates using TMAP expressions. How do i implement this using a SQL Script?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ex: I have 5 columns in a table. ID, Name, Address, ZIP, Hash( Concat of all the columns). If the next value of hash is also the same i want to flag it to Y and insert the new record with Flag N.&lt;/P&gt; 
&lt;P&gt;How do i achieve this?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 12:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Flag-update-to-quot-Y-for-SCD-Type-2/m-p/2228234#M19564</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2019-10-30T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Flag update to "Y' for SCD Type 2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Flag-update-to-quot-Y-for-SCD-Type-2/m-p/2228235#M19565</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Below link can help you to create MD5 hash.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCqWfCAK" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/How-to-generate-MD5-hash-value/td-p/43927&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Once the hash value is present, its a matter of doing inner join between main table and new data available in staging table. All matched columns can be marked as Update and all unmatched are candidates for insert.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 13:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Flag-update-to-quot-Y-for-SCD-Type-2/m-p/2228235#M19565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-30T13:50:21Z</dc:date>
    </item>
  </channel>
</rss>

