<?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: MySQL DB load incremental in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1700120#M724665</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i tried your query and i have problem too.&lt;/P&gt;&lt;P&gt;This query works fine:&lt;/P&gt;&lt;P&gt;SELECT *&lt;BR /&gt;FROM myTest&lt;BR /&gt;where `dt` &amp;gt; '2020-01-20';&lt;/P&gt;&lt;P&gt;For field name use&amp;nbsp;&amp;nbsp;` not '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So maybe it will work:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SELECT *&lt;BR /&gt;FROM myTest&lt;BR /&gt;where `dt` &amp;gt; '$(vLast_Updated_Date)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you format&amp;nbsp;vLast_Updated_Date with YYYY-MM-DD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you.&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2020 07:07:34 GMT</pubDate>
    <dc:creator>DesmoArka</dc:creator>
    <dc:date>2020-05-08T07:07:34Z</dc:date>
    <item>
      <title>MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699714#M724656</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to Achive incremental load from MySQL DB and it is not working need your advice to resolve this .&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the MySQL DB the data type for date is "&lt;STRONG&gt;DateTime"&amp;nbsp; &lt;/STRONG&gt;I have fectehd the data and cinverted to QVD and also added Last updated .&amp;nbsp;&lt;/P&gt;&lt;P&gt;and incremenatl procedure but after completing the records are getting double ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can please someone help me on this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699714#M724656</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699776#M724657</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try to read this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/it-IT/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/QVD_Incremental.htm" target="_blank"&gt;https://help.qlik.com/it-IT/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/QVD_Incremental.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;May you don't check primary key.&lt;/P&gt;&lt;P&gt;I hope this help.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 12:14:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699776#M724657</guid>
      <dc:creator>DesmoArka</dc:creator>
      <dc:date>2020-05-07T12:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699869#M724658</link>
      <description>&lt;P&gt;Can please someone check if the script is correct . the records are doubled&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date formate in mySQL is like&amp;nbsp; &amp;nbsp; &amp;nbsp;2020-04-21 07:55:12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TCS:&lt;BR /&gt;Load&lt;BR /&gt;Sales&lt;BR /&gt;LOAD_DATE&lt;BR /&gt;FROM&lt;BR /&gt;[..\QVD\TCS.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;Last_Updated_Date:&lt;BR /&gt;LOAD&lt;BR /&gt;Date(max(LOAD_DATE),'MM/DD/YYYY') as maxdate&lt;BR /&gt;Resident TCS;&lt;BR /&gt;LET vLast_Updated_Date = Peek('maxdate',0,'Last_Updated_Date');&lt;BR /&gt;DROP Table Last_Updated_Date;&lt;/P&gt;&lt;P&gt;Concatenate (TCS)&lt;BR /&gt;Load&lt;BR /&gt;'Sales'&lt;BR /&gt;'LOAD_DATE'&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM 'Sales_item'.TCS&lt;BR /&gt;where 'LOAD_DATE' &amp;gt; Date_Format('$(vLast_Updated_Date)', '%m/%d/%y');&lt;BR /&gt;store * from TCS into $(vPath)\TCS.qvd;&lt;BR /&gt;DROP Table TCS;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 14:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699869#M724658</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-05-07T14:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699878#M724659</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48832"&gt;@smilingjohn&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Can please someone check if the script is correct . the records are doubled&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date formate in mySQL is like&amp;nbsp; &amp;nbsp; &amp;nbsp;2020-04-21 07:55:12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TCS:&lt;BR /&gt;Load&lt;BR /&gt;Sales&lt;BR /&gt;LOAD_DATE&lt;BR /&gt;FROM&lt;BR /&gt;[..\QVD\TCS.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;Last_Updated_Date:&lt;BR /&gt;LOAD&lt;BR /&gt;Date(max(LOAD_DATE),'MM/DD/YYYY') as maxdate&lt;BR /&gt;Resident TCS;&lt;BR /&gt;LET vLast_Updated_Date = Peek('maxdate',0,'Last_Updated_Date');&lt;BR /&gt;DROP Table Last_Updated_Date;&lt;/P&gt;&lt;P&gt;Concatenate (TCS)&lt;BR /&gt;Load&lt;BR /&gt;'Sales'&lt;BR /&gt;'LOAD_DATE'&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM 'Sales_item'.TCS&lt;BR /&gt;where 'LOAD_DATE' &amp;gt; Date_Format('$(vLast_Updated_Date)', '%m/%d/%y');&lt;BR /&gt;store * from TCS into $(vPath)\TCS.qvd;&lt;BR /&gt;DROP Table TCS;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but if Your&amp;nbsp;Date formate in mySQL is like&amp;nbsp; &amp;nbsp; &amp;nbsp;2020-04-21 07:55:12&lt;/P&gt;&lt;P&gt;why you are using&amp;nbsp;'%m/%d/%y' and not "%Y-%m-%d"?&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 15:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699878#M724659</guid>
      <dc:creator>DesmoArka</dc:creator>
      <dc:date>2020-05-07T15:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699895#M724660</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tired with that also its not working . Should i use double quotes ?&lt;/P&gt;&lt;P&gt;Thanks for the reply .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 15:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699895#M724660</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-05-07T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699909#M724661</link>
      <description>&lt;P&gt;I don't know but you can try.&lt;/P&gt;&lt;P&gt;If you have double records , maybe you can try to change&amp;nbsp;&lt;SPAN&gt;max(LOAD_DATE),'MM/DD/YYYY' also.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;change 'MM/DD/YYYY' with&amp;nbsp;&amp;nbsp;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 16:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699909#M724661</guid>
      <dc:creator>DesmoArka</dc:creator>
      <dc:date>2020-05-07T16:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699910#M724662</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80574"&gt;@DesmoArka&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried by changing the format of max(loadDate),'YYYY-MM-DD' but still after the complete reload process the records are double I dont know why is it so ?&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 16:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699910#M724662</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-05-07T16:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699913#M724663</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48832"&gt;@smilingjohn&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80574"&gt;@DesmoArka&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried by changing the format of max(loadDate),'YYYY-MM-DD' but still after the complete reload process the records are double I dont know why is it so ?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but have you try to write manually some date?&lt;/P&gt;&lt;P&gt;something like&amp;nbsp;&lt;SPAN&gt;where 'LOAD_DATE' &amp;gt; Date_Format(&lt;SPAN class="sqlstringcolor"&gt;"2020-04-15"&lt;/SPAN&gt;,&amp;nbsp;"%Y-%m-%d"); works or not?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 16:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699913#M724663</guid>
      <dc:creator>DesmoArka</dc:creator>
      <dc:date>2020-05-07T16:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699917#M724664</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80574"&gt;@DesmoArka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;trued giving manaul date but it still loadin the records twice . I dont understand what is happening .&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done the incremental load when the data was from Oracle but really strugling to achive this in mySQL DB&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 16:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1699917#M724664</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-05-07T16:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1700120#M724665</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i tried your query and i have problem too.&lt;/P&gt;&lt;P&gt;This query works fine:&lt;/P&gt;&lt;P&gt;SELECT *&lt;BR /&gt;FROM myTest&lt;BR /&gt;where `dt` &amp;gt; '2020-01-20';&lt;/P&gt;&lt;P&gt;For field name use&amp;nbsp;&amp;nbsp;` not '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So maybe it will work:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SELECT *&lt;BR /&gt;FROM myTest&lt;BR /&gt;where `dt` &amp;gt; '$(vLast_Updated_Date)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you format&amp;nbsp;vLast_Updated_Date with YYYY-MM-DD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you.&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 07:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1700120#M724665</guid>
      <dc:creator>DesmoArka</dc:creator>
      <dc:date>2020-05-08T07:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1700138#M724666</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80574"&gt;@DesmoArka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply , But this doesnot work i tried may be the mYSQL query in qlikview requires different date format .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your solution but still the double records problem .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 08:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1700138#M724666</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-05-08T08:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1700139#M724667</link>
      <description>&lt;P&gt;Let me know...&lt;/P&gt;&lt;P&gt;You have more records ok, but mySql query works fine? or mySql query extracts all records and so you have double records?&lt;/P&gt;&lt;P&gt;Just to understand if the problem is in qlik or in mySql &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 08:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1700139#M724667</guid>
      <dc:creator>DesmoArka</dc:creator>
      <dc:date>2020-05-08T08:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL DB load incremental</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1700144#M724668</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80574"&gt;@DesmoArka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have many records&amp;nbsp; in mysql Db&amp;nbsp;&lt;/P&gt;&lt;P&gt;trying manaul date also gives the double data yes it fetches all the data .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 08:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-DB-load-incremental/m-p/1700144#M724668</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-05-08T08:28:08Z</dc:date>
    </item>
  </channel>
</rss>

