<?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: SCD Type - 2 without use of inbuilt components in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type-2-without-use-of-inbuilt-components/m-p/2253988#M37138</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLBLAA4"&gt;@ankit7359&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;please find the below links.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.deepinopensource.com/scd-2-implementations-in-talend/" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;http://www.deepinopensource.com/scd-2-implementations-in-talend/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://talenddev.blogspot.in/2016/03/apply-scd-without-using-scd-component.html" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;http://talenddev.blogspot.in/2016/03/apply-scd-without-using-scd-component.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2019 12:20:59 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2019-02-11T12:20:59Z</dc:date>
    <item>
      <title>SCD Type - 2 without use of inbuilt components</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type-2-without-use-of-inbuilt-components/m-p/2253986#M37136</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Jus as the earlier post, i m trying scd -2 .&lt;/P&gt;
&lt;P&gt;Source Table - dim_emp&lt;/P&gt;
&lt;P&gt;emp_id,emp_name,emp_location&lt;/P&gt;
&lt;P&gt;1,abc,london&lt;/P&gt;
&lt;P&gt;2,def,boston&lt;/P&gt;
&lt;P&gt;Target Table - tgt_dim_emp&lt;/P&gt;
&lt;P&gt;emp_id,emp_name,emp_location,version&lt;/P&gt;
&lt;P&gt;1,abc,london,1&lt;/P&gt;
&lt;P&gt;2,def,boston,1&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2,def,seattle,2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;As per SCD - 2, the records have to be compared and the updated record must be inserted or updated.&lt;/P&gt;
&lt;P&gt;Can anyone help me...how do i achieve in 3 formats - versioning,flagging,effective date&lt;/P&gt;
&lt;P&gt;While trying for versioning... i have tried the following approach...&lt;/P&gt;
&lt;P&gt;source table ---&amp;gt; tmap ---&amp;gt; target table(inserting all the values in the target table with version as 1).&lt;/P&gt;
&lt;P&gt;onsubjobok&lt;/P&gt;
&lt;P&gt;source table ---&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmap(In Tmap,how do i compare all the values of the table and how do insert the new record)----&amp;gt; target_table&lt;/P&gt;
&lt;P&gt;target table(lookup) ----&amp;gt;&lt;/P&gt;
&lt;P&gt;Pls do help.&lt;/P&gt;
&lt;P&gt;An early repsonse would be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks,Ankit&lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2019 11:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-Type-2-without-use-of-inbuilt-components/m-p/2253986#M37136</guid>
      <dc:creator>ankit7359</dc:creator>
      <dc:date>2019-02-10T11:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type - 2 without use of inbuilt components</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type-2-without-use-of-inbuilt-components/m-p/2253987#M37137</link>
      <description>You could compare each field in Variable expression one by one . If all value not same , output two flows 
&lt;BR /&gt; 
&lt;BR /&gt;1) update flow - lookup details with end date and is-active as N 
&lt;BR /&gt;2) insert flow- main flow details with version = version + 1 , effective date as current date time and is-active as Y</description>
      <pubDate>Sun, 10 Feb 2019 14:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-Type-2-without-use-of-inbuilt-components/m-p/2253987#M37137</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-02-10T14:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type - 2 without use of inbuilt components</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type-2-without-use-of-inbuilt-components/m-p/2253988#M37138</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLBLAA4"&gt;@ankit7359&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;please find the below links.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.deepinopensource.com/scd-2-implementations-in-talend/" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;http://www.deepinopensource.com/scd-2-implementations-in-talend/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://talenddev.blogspot.in/2016/03/apply-scd-without-using-scd-component.html" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;http://talenddev.blogspot.in/2016/03/apply-scd-without-using-scd-component.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 12:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-Type-2-without-use-of-inbuilt-components/m-p/2253988#M37138</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-02-11T12:20:59Z</dc:date>
    </item>
  </channel>
</rss>

