<?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 avoid repeated reload of the same data! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-avoid-repeated-reload-of-the-same-data/m-p/203109#M60577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We maintain yearly database in our application. What I want to do is once I load 2009 database into qlikview and don't want to load 2009 database anymore in qlikview as there may not be any changes in the 2009 database. I will be loading only 2010 database into qlikview as there will be new records as well as updated on too.&lt;/P&gt;&lt;P&gt;Please let me know how can i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 03:40:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-16T03:40:59Z</dc:date>
    <item>
      <title>How to avoid repeated reload of the same data!</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-repeated-reload-of-the-same-data/m-p/203109#M60577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We maintain yearly database in our application. What I want to do is once I load 2009 database into qlikview and don't want to load 2009 database anymore in qlikview as there may not be any changes in the 2009 database. I will be loading only 2010 database into qlikview as there will be new records as well as updated on too.&lt;/P&gt;&lt;P&gt;Please let me know how can i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 03:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-repeated-reload-of-the-same-data/m-p/203109#M60577</guid>
      <dc:creator />
      <dc:date>2010-09-16T03:40:59Z</dc:date>
    </item>
    <item>
      <title>How to avoid repeated reload of the same data!</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-repeated-reload-of-the-same-data/m-p/203110#M60578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use incremental reload concept for do this..&lt;/P&gt;&lt;P&gt;You can find the details in Qlikview help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 06:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-repeated-reload-of-the-same-data/m-p/203110#M60578</guid>
      <dc:creator />
      <dc:date>2010-09-16T06:47:33Z</dc:date>
    </item>
    <item>
      <title>How to avoid repeated reload of the same data!</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-repeated-reload-of-the-same-data/m-p/203111#M60579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;STRONG&gt;Insert, Update and Delete&lt;/STRONG&gt;&lt;/H1&gt;&lt;H3&gt;&lt;A id="Insert__Update_and_Delete" name="Insert__Update_and_Delete"&gt;&lt;/A&gt;&lt;/H3&gt;&lt;P&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;/P&gt;&lt;UL&gt;&lt;LI class="P-Bullet"&gt;&lt;P class="Bullet"&gt;The data source can be any database.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet"&gt;&lt;P class="Bullet"&gt;QlikView loads records inserted into the database or updated in the database after the last script execution.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet"&gt;&lt;P class="Bullet"&gt;QlikView removes records deleted from the database after the last script execution.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet"&gt;&lt;P class="Bullet"&gt;A field ModificationDate (or similar) is required for QlikView to recognize which records are new.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet"&gt;&lt;P class="Bullet"&gt;A primary key field is required for QlikView to sort out updated records from the QVD file.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet"&gt;&lt;P class="Bullet"&gt;This solution will force the reading of the QVD file to "standard mode" (rather than "super-fast mode"), which is still considerably faster than loading the entire database.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;Script example:&lt;/H2&gt;&lt;P&gt;Let ThisExecTime = Now( );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV_Table:&lt;/P&gt;&lt;P&gt;SQL SELECT PrimaryKey, X, Y FROM DB_TABLE&lt;/P&gt;&lt;P&gt;WHERE ModificationTime &amp;gt;= #$(LastExecTime)#&lt;/P&gt;&lt;P&gt;AND ModificationTime &amp;lt; #$(ThisExecTime)#;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate LOAD PrimaryKey, X, Y FROM File.QVD&lt;/P&gt;&lt;P&gt;WHERE NOT EXISTS(PrimaryKey);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join SQL SELECT PrimaryKey FROM DB_TABLE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ScriptErrorCount = 0 then&lt;/P&gt;&lt;P&gt;STORE QV_Table INTO File.QVD;&lt;/P&gt;&lt;P&gt;Let LastExecTime = ThisExecTime;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 06:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-repeated-reload-of-the-same-data/m-p/203111#M60579</guid>
      <dc:creator />
      <dc:date>2010-09-16T06:51:45Z</dc:date>
    </item>
  </channel>
</rss>

