<?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 how to do incremental load using primary key in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660792#M668582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont have a date column but have a primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain how to do incremental load using primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2014 09:11:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-20T09:11:01Z</dc:date>
    <item>
      <title>how to do incremental load using primary key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660792#M668582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont have a date column but have a primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain how to do incremental load using primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 09:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660792#M668582</guid>
      <dc:creator />
      <dc:date>2014-10-20T09:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to do incremental load using primary key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660793#M668585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First load your last qvd created, and then load the new data from your source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load fields...&lt;/P&gt;&lt;P&gt;from yoursource&lt;/P&gt;&lt;P&gt;where not(exists(keyfield));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so this will load only the data of your new keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, store your table for next incremental load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 09:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660793#M668585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-20T09:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to do incremental load using primary key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660794#M668588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the exists() function in your where clause. look it up into the manual. that will do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tjeerd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 09:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660794#M668588</guid>
      <dc:creator>tabletuner</dc:creator>
      <dc:date>2014-10-20T09:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to do incremental load using primary key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660795#M668590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Max function for this in the load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;ID // Which is primary key&lt;/P&gt;&lt;P&gt;From Location Where ID &amp;gt; Max(ID);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:- But need to check how you need incremental load with ( Insert,Update,Delete ) or otherwise it is allready maintain in database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 09:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660795#M668590</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-20T09:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to do incremental load using primary key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660796#M668591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;search using qvd files for incremental load in online help, case 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-style: italic;"&gt;QV_Table&lt;/SPAN&gt;:&lt;/P&gt;&lt;P class="Code"&gt;SQL SELECT PrimaryKey, X, Y FROM DB_TABLE&lt;/P&gt;&lt;P class="Code"&gt;//WHERE ModificationTime &amp;gt;= #$(LastExecTime)#&lt;/P&gt;&lt;P class="Code"&gt;;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Concatenate LOAD PrimaryKey, X, Y FROM File.QVD&lt;/P&gt;&lt;P class="Code"&gt;WHERE NOT Exists(PrimaryKey);&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;STORE QV_Table INTO File.QVD;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 09:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-do-incremental-load-using-primary-key/m-p/660796#M668591</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-10-20T09:18:40Z</dc:date>
    </item>
  </channel>
</rss>

