<?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 Question About Incremental Build in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-About-Incremental-Build/m-p/394216#M1149464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had copied a little piece of scrpt from a user in this community, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I ' ve made some changes on it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my purpose: &lt;/P&gt;&lt;P&gt;1. load old data from QVD&lt;/P&gt;&lt;P&gt;2. find the last load time&lt;/P&gt;&lt;P&gt;3. incrementally load data from DB via ODBC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my script:&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load * from &lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Res:&lt;/P&gt;&lt;P&gt;Load MAX(XF_LASTMODTIME) as maxDate resident Temp;&lt;/P&gt;&lt;P&gt;et vMax = chr(39)&amp;amp;DATE(peek('maxDate',-1,Temp),'YYYY-MM-DD HH.MM.SS')&amp;amp;chr(39); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [TNT11G;DBQ=TNT11G] (XUserId is GbHDbJRKRBSWUAJM, XPassword is YQQZSJRKRBSWUAJW);&lt;/P&gt;&lt;P&gt;New:&lt;/P&gt;&lt;P&gt;select * from xf_itemdm where xf_lastmodtime &amp;gt; TO_DATE($(vMax),'YYYY-MM-DD HH24.MI.SS');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for step 1, 2, the debugger tell me that the corresponding tabes' (temp, res) loading time and its number of rows returned &lt;/P&gt;&lt;P&gt;how ever, for step 3, it told me the load time of "Temp" instead of "New"- my expection. &lt;/P&gt;&lt;P&gt;was it really reloading data from database? or it was misled to load from the "Temp" table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2013 06:22:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-22T06:22:44Z</dc:date>
    <item>
      <title>Question About Incremental Build</title>
      <link>https://community.qlik.com/t5/QlikView/Question-About-Incremental-Build/m-p/394216#M1149464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had copied a little piece of scrpt from a user in this community, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I ' ve made some changes on it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my purpose: &lt;/P&gt;&lt;P&gt;1. load old data from QVD&lt;/P&gt;&lt;P&gt;2. find the last load time&lt;/P&gt;&lt;P&gt;3. incrementally load data from DB via ODBC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my script:&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load * from &lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Res:&lt;/P&gt;&lt;P&gt;Load MAX(XF_LASTMODTIME) as maxDate resident Temp;&lt;/P&gt;&lt;P&gt;et vMax = chr(39)&amp;amp;DATE(peek('maxDate',-1,Temp),'YYYY-MM-DD HH.MM.SS')&amp;amp;chr(39); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [TNT11G;DBQ=TNT11G] (XUserId is GbHDbJRKRBSWUAJM, XPassword is YQQZSJRKRBSWUAJW);&lt;/P&gt;&lt;P&gt;New:&lt;/P&gt;&lt;P&gt;select * from xf_itemdm where xf_lastmodtime &amp;gt; TO_DATE($(vMax),'YYYY-MM-DD HH24.MI.SS');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for step 1, 2, the debugger tell me that the corresponding tabes' (temp, res) loading time and its number of rows returned &lt;/P&gt;&lt;P&gt;how ever, for step 3, it told me the load time of "Temp" instead of "New"- my expection. &lt;/P&gt;&lt;P&gt;was it really reloading data from database? or it was misled to load from the "Temp" table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 06:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-About-Incremental-Build/m-p/394216#M1149464</guid>
      <dc:creator />
      <dc:date>2013-05-22T06:22:44Z</dc:date>
    </item>
  </channel>
</rss>

