<?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: Incremental Load without Updated Date and Time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999019#M973706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah. What a Catastrophic mistake have I done! Thanks for helping out mate. Now it works properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2015 07:47:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-09T07:47:47Z</dc:date>
    <item>
      <title>Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999010#M973697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file I have for the Initial load is Sample.xlsx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="149" style="border: 1px solid rgb(0, 0, 0); width: 269px; height: 124px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Number&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Alphabet&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After loading this file, I'm storing it as a QVD File using the following Code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD Number, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alphabet&lt;/P&gt;&lt;P&gt;FROM Sample.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Store&lt;/STRONG&gt; Sample into Sample.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have inserted a new row to the Sample.xlsx as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="149" style="border: 1px solid rgb(0, 0, 0); width: 256px; height: 109px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Number&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Alphabet&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;E&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For performing Incremental Load &lt;SPAN style="font-size: 13.3333330154419px;"&gt;(Insert and Update)&lt;/SPAN&gt; on this data, I have added the following code to the existing Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MaxNumber:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD max(Number) as MaxNumber&lt;/P&gt;&lt;P&gt;Resident Sample;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let &lt;STRONG&gt;vmax&lt;/STRONG&gt;=peek('MaxNumber',0,'Last_Updated_Number');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table MaxNumber;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IncTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD Number, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alphabet&lt;/P&gt;&lt;P&gt;FROM &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sample.xlsx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1) where Number &amp;gt; $(vmax);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Number, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alphabet&lt;/P&gt;&lt;P&gt;FROM &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sample.qvd &lt;/SPAN&gt;(qvd) &lt;STRONG&gt;where not Exists&lt;/STRONG&gt;(Number);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table IncTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I reload this, I'm encountering a problem like &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98329_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;What is even more baffling is, I got the updated data when I checked the Preview of the Table in Data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me on this? Where I was wrong and What needs to be done to get this without any Script Error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 06:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999010#M973697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T06:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999011#M973698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are still loading the Sample: table at the start, right?&lt;/P&gt;&lt;P&gt;Then the load in IncTable automatically concatenates, and as IncTable is not created you can't drop it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 06:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999011#M973698</guid>
      <dc:creator>Ralf-Narfeldt</dc:creator>
      <dc:date>2015-09-09T06:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999012#M973699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Drop sample table before IncTable, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Drop Table Sample;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IncTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD Number, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alphabet&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 06:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999012#M973699</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-09-09T06:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999013#M973700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help. If I drop the Sample Table, I'm not getting any table loaded into Qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 06:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999013#M973700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T06:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999014#M973701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I do that, no table is loaded into the Qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 06:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999014#M973701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T06:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999015#M973702</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here am not understanding One thing&lt;/P&gt;&lt;P&gt;&amp;nbsp; why you are trying to drop the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;IncTable. &lt;/STRONG&gt;if we are drop the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;IncTable &lt;/STRONG&gt;then there so no data to load in to QVD&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Correct me if my understanding wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suggestion:comment the drop table command &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 07:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999015#M973702</guid>
      <dc:creator />
      <dc:date>2015-09-09T07:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999016#M973703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need one more correction, remove the wrong table name from peek().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vmax=peek('MaxNumber',0,&lt;STRONG&gt;'MaxNumber'&lt;/STRONG&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 07:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999016#M973703</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-09-09T07:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999017#M973704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;I changed your script based on your &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;requirement&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Sample:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Number,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alphabet&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM Sample.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Store&lt;/STRONG&gt;&lt;/SPAN&gt; Sample into Sample.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have inserted a new row to the Sample.xlsx as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="149" style="border: 1px solid #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;THEAD style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat;" valign="middle"&gt;Number&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat;" valign="middle"&gt;Alphabet&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;3&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;5&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;E&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For performing Incremental Load &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(Insert and Update)&lt;/SPAN&gt; on this data, I have added the following code to the existing Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;MaxNumber:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD max(Number) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Last_Updated_Number&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Sample;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;vmax&lt;/STRONG&gt;&lt;/SPAN&gt;=peek('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Last_Updated_Number&lt;/SPAN&gt;',0,'&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;STRONG&gt;MaxNumber&lt;/STRONG&gt;&lt;/SPAN&gt;');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Table MaxNumber;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Drop Table &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;STRONG&gt;Sample&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;IncTable:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Number,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alphabet&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Sample.xlsx&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Sheet1) where Number &amp;gt; $(vmax);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Concatenate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Number,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alphabet&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Sample.qvd &lt;/SPAN&gt;(qvd) &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;where not Exists&lt;/STRONG&gt;&lt;/SPAN&gt;(Number);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 07:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999017#M973704</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2015-09-09T07:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999018#M973705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should change your initial load to be from the QVD instead of XLSX, and then put the Store at the end of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load from QVD&lt;/P&gt;&lt;P&gt;Calculate MaxNumber and store to variable&lt;/P&gt;&lt;P&gt;Drop MaxNumber&lt;/P&gt;&lt;P&gt;Load from XLSX where Number &amp;gt; $(vmax);&lt;/P&gt;&lt;P&gt;Store to QVD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 07:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999018#M973705</guid>
      <dc:creator>Ralf-Narfeldt</dc:creator>
      <dc:date>2015-09-09T07:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999019#M973706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah. What a Catastrophic mistake have I done! Thanks for helping out mate. Now it works properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 07:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999019#M973706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T07:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999020#M973707</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;Try Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P&gt;LOAD Number,Alphabet&lt;/P&gt;&lt;P&gt;FROM Sample.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store Sample into Sample.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaxNumber:&lt;/P&gt;&lt;P&gt;LOAD max(Number) as Last_Updated_Number Resident Sample;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vmax=peek('Last_Updated_Number',0,'MaxNumber');&lt;/P&gt;&lt;P&gt;Drop Table MaxNumber,Sample;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IncTable:&lt;/P&gt;&lt;P&gt;LOAD Number,Alphabet&lt;/P&gt;&lt;P&gt;FROM Sample.qvd (qvd) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Number,Alphabet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM UpdatedSample.xlsx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1) where not Exists(Number,Number);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 07:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999020#M973707</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-09-09T07:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999021#M973708</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Manju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 08:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999021#M973708</guid>
      <dc:creator />
      <dc:date>2015-09-09T08:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load without Updated Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999022#M973709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Using QVD Files for Incremental Load&lt;/H1&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Incremental load is a very common task in relation to data bases. It is defined as loading nothing but new or changed records from the database. All other data should already be available, in one way or another. With &lt;A class="MCXref_0" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;QVD Files&lt;/EM&gt;&lt;/A&gt; it is possible to perform incremental load in most cases.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The basic process is described below:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1. Load the &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ffffff; background-color: #ff0000;"&gt;new data&lt;/SPAN&gt; from Database table (a slow process, but loading a limited number of records).&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. Load the &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background-color: #008080;"&gt;old data&lt;/SPAN&gt; from QVD file (loading many records, but a much faster process).&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3. Create a new QVD file.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4. Repeat the procedure for every table loaded.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG border="0" class="jiveImage jive-image" style="border-style: none; font-weight: inherit; font-style: inherit; font-family: inherit;" /&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The complexity of the actual solution depends on the nature of the source database, but the following basic cases can be identified:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1) &lt;A _jive_internal="true" class="MCXref_0" href="https://community.qlik.com/thread/137834" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Case 1: Append Only&lt;/EM&gt;&lt;/A&gt; (typically log files&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2) &lt;A _jive_internal="true" class="MCXref_0" href="https://community.qlik.com/thread/137834" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Case 2: Insert Only (No Update or Delete)&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3) &lt;A _jive_internal="true" class="MCXref_0" href="https://community.qlik.com/thread/137834" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Case 3: Insert and Update (No Delete)&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4) &lt;A _jive_internal="true" class="MCXref_0" href="https://community.qlik.com/thread/137834" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Case 4: Insert, Update and Delete&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Below you will find outlined solutions for each of these cases. The reading of QVD files can be done in either optimized mode or standard mode. (The method employed is automatically selected by the QlikView script engine depending on the complexity of the operation.) Optimized mode is (very approximately) about 10x faster than standard mode or about 100x faster than loading the database in the ordinary fashion.&lt;/P&gt;&lt;H3 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A name="kanchor966" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;&lt;A name="Append_only" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;Case 1: Append Only&lt;/H3&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The simplest case is the one of log files; files in which records are only appended and never deleted. The following conditions apply:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The database must be a log file (or some other file in which records are appended and not inserted or deleted) which is contained in a text file (no ODBC/OLE DB). &lt;/LI&gt;&lt;LI&gt;QlikView keeps track of the number of records that have been previously read and loads only records added at the end of the file.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG border="0" class="jiveImage jive-image" style="border-style: none; font-weight: inherit; font-style: inherit; font-family: inherit;" /&gt;&lt;/SPAN&gt;&lt;SPAN class="example" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Script Example:&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Buffer (Incremental) Load * From LogFile.txt (ansi, txt, delimiter is '\t', embedded labels);&lt;/SPAN&gt;&lt;/P&gt;&lt;H3 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A name="kanchor967" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;&lt;A name="Insert_only" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;Case 2: Insert Only (No Update or Delete)&lt;/H3&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If the data resides in a database other than a simple log file the case 1 approach will not work. However, the problem can still be solved with minimum amount of extra work. The following conditions apply:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The data source can be any database. &lt;/LI&gt;&lt;LI&gt;QlikView loads records inserted in the database after the last script execution. &lt;/LI&gt;&lt;LI&gt;A field ModificationDate (or similar) is required for QlikView to recognize which records are new.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG border="0" class="jiveImage jive-image" style="border-style: none; font-weight: inherit; font-style: inherit; font-family: inherit;" /&gt;&lt;/SPAN&gt;&lt;SPAN class="example" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Script Example:&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: italic; font-family: inherit;"&gt;QV_Table&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT PrimaryKey, X, Y FROM DB_TABLE&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE ModificationTime &amp;gt;= #$(LastExecTime)#&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AND ModificationTime &amp;lt; #$(BeginningThisExecTime)#;&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate LOAD PrimaryKey, X, Y FROM File.QVD;&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STORE QV_Table INTO File.QVD;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(The hash signs in the SQL WHERE clause define the beginning and end of a date. Check your database manual for the correct date syntax for your database.)&lt;/SPAN&gt;&lt;/P&gt;&lt;H3 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A name="kanchor968" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;&lt;A name="Insert_and_Update" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;Case 3: Insert and Update (No Delete)&lt;/H3&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The next case is applicable when data in previously loaded records may have changed between script executions. The following conditions apply:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The data source can be any database. &lt;/LI&gt;&lt;LI&gt;QlikView loads records inserted into the database or updated in the database after the last script execution&lt;/LI&gt;&lt;LI&gt;A field ModificationDate (or similar) is required for QlikView to recognize which records are new. &lt;/LI&gt;&lt;LI&gt;A primary key field is required for QlikView to sort out updated records from the QVD file. &lt;/LI&gt;&lt;LI&gt;This solution will force the reading of the QVD file to standard mode (rather than optimized), which is still considerably faster than loading the entire database.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG border="0" class="jiveImage jive-image" style="border-style: none; font-weight: inherit; font-style: inherit; font-family: inherit;" /&gt;&lt;/SPAN&gt;&lt;SPAN class="example" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Script Example:&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: italic; font-family: inherit;"&gt;QV_Table&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT PrimaryKey, X, Y FROM DB_TABLE&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE ModificationTime &amp;gt;= #$(LastExecTime)#;&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate LOAD PrimaryKey, X, Y FROM File.QVD&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE NOT Exists(PrimaryKey);&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STORE QV_Table INTO File.QVD;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;H3 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A name="kanchor969" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;&lt;A name="Insert__Update_and_Delete" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;Case 4: Insert, Update and Delete&lt;/H3&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The most difficult case to handle is when records are actually deleted from the source database between script executions. The following conditions apply:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The data source can be any database. &lt;/LI&gt;&lt;LI&gt;QlikView loads records inserted into the database or updated in the database after the last script execution. &lt;/LI&gt;&lt;LI&gt;QlikView removes records deleted from the database after the last script execution. &lt;/LI&gt;&lt;LI&gt;A field ModificationDate (or similar) is required for QlikView to recognize which records are new. &lt;/LI&gt;&lt;LI&gt;A primary key field is required for QlikView to sort out updated records from the QVD file. &lt;/LI&gt;&lt;LI&gt;This solution will force the reading of the QVD file to standard mode (rather than optimized), which is still considerably faster than loading the entire database.&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG border="0" class="jiveImage jive-image" style="border-style: none; font-weight: inherit; font-style: inherit; font-family: inherit;" /&gt;&lt;/P&gt;&lt;P class="example" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Script Example:&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let ThisExecTime = Now( );&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: italic; font-family: inherit;"&gt;QV_Table&lt;/SPAN&gt;:&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT PrimaryKey, X, Y FROM DB_TABLE&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE ModificationTime &amp;gt;= #$(LastExecTime)#&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AND ModificationTime &amp;lt; #$(ThisExecTime)#;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate LOAD PrimaryKey, X, Y FROM File.QVD&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE NOT EXISTS(PrimaryKey);&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Inner Join SQL SELECT PrimaryKey FROM DB_TABLE;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If ScriptErrorCount = 0 then&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STORE QV_Table INTO File.QVD;&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let LastExecTime = ThisExecTime;&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #808080;"&gt;&lt;SPAN class="PrimaryQVRelease" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;QlikView 11.20 SR6&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 19:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-without-Updated-Date-and-Time/m-p/999022#M973709</guid>
      <dc:creator>qepmalheiros</dc:creator>
      <dc:date>2015-10-20T19:13:57Z</dc:date>
    </item>
  </channel>
</rss>

