<?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 with timestamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601853#M736577</link>
    <description>&lt;P&gt;Hi how are you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems ok! would work ok&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"after that applied update and delete steps", this is the important part&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2019 13:15:00 GMT</pubDate>
    <dc:creator>fkeuroglian</dc:creator>
    <dc:date>2019-07-12T13:15:00Z</dc:date>
    <item>
      <title>incremental load with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1597699#M736571</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am doing incremental load in table which is a table of oracle db.&lt;/P&gt;&lt;P&gt;Table has a timestamp field&amp;nbsp; updated_date having value "07-07-2014 10:08:11.238000" having format "DD-MON-RR HH:MI:SSXFF AM" in oracle.&lt;/P&gt;&lt;P&gt;I need to take this time stamp to do incremental load in qlikview.&lt;/P&gt;&lt;P&gt;I am facing problem as mention below 2 points.&lt;/P&gt;&lt;P&gt;1) I have to calculate max(time stamp) and pass that into a variable let say&amp;nbsp;varupdatedate .&lt;/P&gt;&lt;P&gt;2) During apply where clause in oracle table&amp;nbsp; updated_date&amp;gt;$(varupdatedate )&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;sql select * from db.table1 where datefield&amp;gt;variable;&lt;/P&gt;&lt;P&gt;I am facing problem in timestamp because records having difference based on mili seconds(ms).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1597699#M736571</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2024-11-16T03:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601009#M736572</link>
      <description>&lt;P&gt;Hi How are you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your incremental load in qlik is one time for each day?&lt;/P&gt;&lt;P&gt;Can you take out the milisecond and only have the date format? apply some DATE functions or FLOOR functions to have the normal date format?&amp;nbsp;&lt;SPAN&gt;"07-07-2014" for example?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Why you can not use this format?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) I have to calculate max(time stamp) and pass that into a variable let say&amp;nbsp;varupdatedate .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You have to calculate the max? can you use the today() function and use this value to set the variable?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope Help&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 16:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601009#M736572</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2019-07-10T16:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601044#M736573</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have to use peek() for fetch value in a variable. I'll write the exact syntax tomorrow morning.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 17:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601044#M736573</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2019-07-10T17:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601223#M736574</link>
      <description>&lt;P&gt;So, try with :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;T_MAX:
load Timestamp(max(UPDATED_DATE)) as max_DH
Resident TABLE;

LET v_MaxDate = peek('max_DH');

SQL
SELECT
x
x
FROM Table X WHERE UPDATED_DATE &amp;gt;= TO_DATE('$(v_MaxDate)','DD-MON-RR HH:MI:SSXFF AM’)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Jul 2019 07:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601223#M736574</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2019-07-11T07:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601246#M736575</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Fernando,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am Good. Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How are you?&lt;/P&gt;&lt;P&gt;No I can not&amp;nbsp;&lt;SPAN&gt;take out the milisecond from date as I have multiple records which are inserting with the difference of millisecond. like&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.jpg" style="width: 131px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15265i94E096644A5DF9A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.jpg" alt="Screenshot_1.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If i would take out millisecond from date then max date with second would be 07-07-2014 10:08:11 (&lt;STRONG&gt;assume)&amp;nbsp;&lt;/STRONG&gt;and this date may be reloaded during milliscond 347000. but you know there are also more date with the same second but different millisecond. So during grater then max date&amp;nbsp; condition in&amp;nbsp; next step will ignore for the other millisecond. That is why i want to take the millisecond record in date field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I used alternative way with different logic.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1) load date(max(TIMESTAMP(op_date_time,'DD-MM-YYYY'))-1) as maxdate&lt;/P&gt;&lt;P&gt;2) Pass this into variable let say varmaxdate&lt;/P&gt;&lt;P&gt;3)load *&amp;nbsp; where to_date(to_char(op_date_time,'DD-MM-YYYY'),'DD-MM-YYYY')&amp;gt;to_date('$(varmaxdate)','DD-MM-YYYY')&lt;/P&gt;&lt;P&gt;after that applied update and delete steps.&lt;/P&gt;&lt;P&gt;Update step will not take same day data 2 times.(which is creating due to (maxdate-1) condition) .&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope , this is also the right way. what you say about this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 08:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601246#M736575</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2019-07-11T08:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601249#M736576</link>
      <description>&lt;P&gt;Hi sergio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Previously i applied the same thing as you suggested here but did not get success as this was not working:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;TO_DATE('$(v_MaxDate)','DD-MON-RR HH:MI:SSXFF AM’)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I replied to Mr.&amp;nbsp;Fernando in same conversation. Please see my comment , I have summarized my answer to resolve this issue.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 08:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601249#M736576</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2019-07-11T08:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601853#M736577</link>
      <description>&lt;P&gt;Hi how are you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems ok! would work ok&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"after that applied update and delete steps", this is the important part&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 13:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-with-timestamp/m-p/1601853#M736577</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2019-07-12T13:15:00Z</dc:date>
    </item>
  </channel>
</rss>

