<?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 load data,Incremental data,SCD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755631#M1035410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I want to load data from&amp;nbsp; database with extra columns into QVD file can any one help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;"PrimeId",&lt;/P&gt;&lt;P&gt;"Food Category",&lt;/P&gt;&lt;P&gt;"Food Item",&lt;/P&gt;&lt;P&gt;"Loaction;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "table1";&lt;/P&gt;&lt;P&gt;store table1 into 'D:\abc.qvd';&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;with this I required extra bellowed columns also into QVD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;Start_date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;End_date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_version,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_active &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. This as same like scd concept but my requirement should as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For suppose if record&amp;nbsp; is loading for the first time then the start_date should be current date i.e system date, End_date is null,scd_version is 1 and scd_active is 1.&lt;/P&gt;&lt;P&gt;If same record is updated then start_date should remains same , End_date is null,scd_version is 2 and scd_active is 1.&lt;/P&gt;&lt;P&gt;If same record is deleted then start_date should remains same , End_date is i.e system date,scd_version is remains same&amp;nbsp; and scd_active is 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;B.Kasi Viswanath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2015 12:59:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-08T12:59:17Z</dc:date>
    <item>
      <title>load data,Incremental data,SCD</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755631#M1035410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I want to load data from&amp;nbsp; database with extra columns into QVD file can any one help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;"PrimeId",&lt;/P&gt;&lt;P&gt;"Food Category",&lt;/P&gt;&lt;P&gt;"Food Item",&lt;/P&gt;&lt;P&gt;"Loaction;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "table1";&lt;/P&gt;&lt;P&gt;store table1 into 'D:\abc.qvd';&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;with this I required extra bellowed columns also into QVD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;Start_date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;End_date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_version,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_active &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. This as same like scd concept but my requirement should as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For suppose if record&amp;nbsp; is loading for the first time then the start_date should be current date i.e system date, End_date is null,scd_version is 1 and scd_active is 1.&lt;/P&gt;&lt;P&gt;If same record is updated then start_date should remains same , End_date is null,scd_version is 2 and scd_active is 1.&lt;/P&gt;&lt;P&gt;If same record is deleted then start_date should remains same , End_date is i.e system date,scd_version is remains same&amp;nbsp; and scd_active is 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;B.Kasi Viswanath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 12:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755631#M1035410</guid>
      <dc:creator />
      <dc:date>2015-01-08T12:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: load data,Incremental data,SCD</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755632#M1035411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have few concerns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) On which criteria you are saying the record is updated?&lt;/P&gt;&lt;P&gt;2) Suppose for one ID, there is 3 updates, then you need to store all 3 versions into QVD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 14:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755632#M1035411</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2015-01-08T14:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: load data,Incremental data,SCD</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755633#M1035412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur replay Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my record is updated for the second load then version should change to 2 if is third then it should be 3 its like&lt;/P&gt;&lt;P&gt;If my record is updated then my version should be incremented by 1 else it should remains same.&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PrimeId,&lt;/P&gt;&lt;P&gt;Food Category,&lt;/P&gt;&lt;P&gt;Food Item,&lt;/P&gt;&lt;P&gt;Loaction,&lt;/P&gt;&lt;P&gt;close_date,&lt;SPAN style="color: #ff99cc;"&gt;when that record is closed time&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;Start_date-when that record is created for first time &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;End_date,&lt;SPAN style="color: #ff99cc;"&gt;when that record is closed time&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_version,increment by 1 for every update of that record &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_active ,it record is between the start and end date then it should be active(with 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;first load&lt;/P&gt;&lt;P&gt;PrimeId,Food Category,Food Item,Loaction,close_date,&lt;SPAN style="color: #ff99cc;"&gt;Start_date,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;End_date,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_version,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_active &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1,chinese,noodles,veg noodles,china,null,2015-01-01,null,0,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;second load (update record with new changes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;PrimeId,Food Category,Food Item,Loaction,close_date,&lt;SPAN style="color: #ff99cc;"&gt;Start_date,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;End_date,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_version,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_active &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1,chinese,maggi,veg noodles,india,null,2015-01-01,null,1,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;third load (update record with new changes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;PrimeId,Food Category,Food Item,Loaction,close_date,&lt;SPAN style="color: #ff99cc;"&gt;Start_date,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;End_date,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_version,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_active &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1,chinese,topraman,veg noodles,india,null,2015-01-01,null,2,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;forthload (close date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;PrimeId,Food Category,Food Item,Loaction,close_date,&lt;SPAN style="color: #ff99cc;"&gt;Start_date,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;End_date,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_version,&lt;/SPAN&gt;&lt;SPAN style="color: #ff99cc;"&gt;Scd_active &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1,chinese,topraman,veg noodles,india,2015-01-09,2015-01-01,&lt;SPAN style="color: #000000;"&gt;2015-01-09&lt;/SPAN&gt;,2,0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 04:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755633#M1035412</guid>
      <dc:creator />
      <dc:date>2015-01-09T04:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: load data,Incremental data,SCD</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755634#M1035413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;The atatched application might be helpfull.&amp;nbsp; Let me know if not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 08:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755634#M1035413</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2015-01-09T08:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: load data,Incremental data,SCD</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755635#M1035414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not find any attachment here pradeep &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 08:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755635#M1035414</guid>
      <dc:creator />
      <dc:date>2015-01-09T08:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: load data,Incremental data,SCD</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755636#M1035415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to open thread in new window....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 09:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-Incremental-data-SCD/m-p/755636#M1035415</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2015-01-09T09:19:53Z</dc:date>
    </item>
  </channel>
</rss>

