<?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 loading problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-loading-problem/m-p/435466#M696481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why but the problem is that the clause where don't work in the script. &lt;/P&gt;&lt;P&gt;I have testing an other solution that i find:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vLastExecTime = TIMESTAMP(ReloadTime(), 'YYYY-MM-DD hh:mm:ss.fff'); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let Query = 'SELECT * FROM fim.dbo."ORDINE_TAB" WHERE data_creazione &amp;gt; ' &amp;amp; CHR(39) &amp;amp; ' $(vLastExecTime) ' &amp;amp; CHR(39) &amp;amp; '';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIM_ORDINE_TAB: &lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL $(Query);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it's work!&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Apr 2013 07:44:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-12T07:44:08Z</dc:date>
    <item>
      <title>Incremental loading problem</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-loading-problem/m-p/435464#M696478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a little problem with iocremental load, i load a data base's table like this:&lt;/P&gt;&lt;P&gt;fim_PIANO_DI_PRODUZIONE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt;FROM fim.dbo."PIANO_DI_PRODUZIONE"&lt;BR /&gt;order by ID_COMMESSA,DATA_ULT_RIC;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;STORE&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; fim_PIANO_DI_PRODUZIONE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;It's work very good, but this is a big table so i wan't to do an incremental loading so i do:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;ThisExecTime&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ReloadTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(); &lt;BR /&gt;&lt;BR /&gt;PIANO_DI_PRODUZIONE:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt;FROM fim.dbo."PIANO_DI_PRODUZIONE"&lt;BR /&gt;WHERE DATA_ULT_RIC &amp;gt;= '$(ThisExecTime)'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i have a problem to match the two dates: &lt;/P&gt;&lt;P&gt;DATA_ULT_RIC is a numeris date like 38504,405804804 &lt;/P&gt;&lt;P&gt;and ReloadTime like '09/04/2013 05:45:12'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you got any ideas or solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 09:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-loading-problem/m-p/435464#M696478</guid>
      <dc:creator />
      <dc:date>2013-04-09T09:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental loading problem</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-loading-problem/m-p/435465#M696480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to make sure ThisExecTime gets a numeric value:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;ThisExecTime&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; = num(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;ReloadTime&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;()); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then remove the quotes that surrounded $(ThisExecTime):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;WHERE DATA_ULT_RIC &amp;gt;= $(ThisExecTime);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 14:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-loading-problem/m-p/435465#M696480</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-10T14:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental loading problem</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-loading-problem/m-p/435466#M696481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why but the problem is that the clause where don't work in the script. &lt;/P&gt;&lt;P&gt;I have testing an other solution that i find:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vLastExecTime = TIMESTAMP(ReloadTime(), 'YYYY-MM-DD hh:mm:ss.fff'); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let Query = 'SELECT * FROM fim.dbo."ORDINE_TAB" WHERE data_creazione &amp;gt; ' &amp;amp; CHR(39) &amp;amp; ' $(vLastExecTime) ' &amp;amp; CHR(39) &amp;amp; '';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIM_ORDINE_TAB: &lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL $(Query);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it's work!&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 07:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-loading-problem/m-p/435466#M696481</guid>
      <dc:creator />
      <dc:date>2013-04-12T07:44:08Z</dc:date>
    </item>
  </channel>
</rss>

