<?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 MySQL QUERY in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1700927#M725140</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a MySQL DB from which i am fetching the data into QlikView&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the there is a date field whise data type is &lt;STRONG&gt;datetime&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;'2020-05-06 03:14:43'&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in qlikview i have converted the this format to Date(Date,'YYYY-MM-DD') whihc is correct and also took the last update date&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Date(Max(Date),'YYYY-MM-DD')&amp;nbsp; and store in a variable .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;now when i want to fetch the data &lt;STRONG&gt;greater than the last updated in qlikview&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt; this is not working the data from the MySQL is fetching the all the data and the records are doubles .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;100 records fetched and convetred into QVD format and i have created the vLastUpdated from max of date&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and when i concatenate the fetch from DB the data is not considering the vLAst update and rather loadin the records as&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;200 rows . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any sugestion on this ? do i need to convert date format&amp;nbsp; for mysql&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>MySQL QUERY</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1700927#M725140</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a MySQL DB from which i am fetching the data into QlikView&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the there is a date field whise data type is &lt;STRONG&gt;datetime&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;'2020-05-06 03:14:43'&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in qlikview i have converted the this format to Date(Date,'YYYY-MM-DD') whihc is correct and also took the last update date&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Date(Max(Date),'YYYY-MM-DD')&amp;nbsp; and store in a variable .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;now when i want to fetch the data &lt;STRONG&gt;greater than the last updated in qlikview&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt; this is not working the data from the MySQL is fetching the all the data and the records are doubles .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;100 records fetched and convetred into QVD format and i have created the vLastUpdated from max of date&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and when i concatenate the fetch from DB the data is not considering the vLAst update and rather loadin the records as&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;200 rows . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any sugestion on this ? do i need to convert date format&amp;nbsp; for mysql&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1700927#M725140</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL QUERY</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1701245#M725141</link>
      <description>&lt;P&gt;Hi .&lt;/P&gt;&lt;P&gt;Anu suggestions in my post ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I even tried to fetch the data by giving manual date but still the qlikview is fetching the whole data from MySQL db&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sales,&lt;/P&gt;&lt;P&gt;Loaddate&lt;/P&gt;&lt;P&gt;&amp;nbsp;SQL * select from sales.db&lt;/P&gt;&lt;P&gt;Where loaddate &amp;gt; date_format('2020-05-11','%Y-%m-%d');&lt;/P&gt;&lt;P&gt;But still the data is not laoding after 11th but it is laoding the complete data . I really don't understand this .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your input will really help in resolving this issue .&lt;/P&gt;&lt;P&gt;Since I am typing from mobile there might be typo error please discard&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 19:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1701245#M725141</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-05-12T19:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL QUERY</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1701259#M725142</link>
      <description>&lt;P&gt;have you tried this code in your mysql environment&lt;/P&gt;&lt;P&gt;&amp;nbsp;SQL * select from sales.db&lt;/P&gt;&lt;P&gt;Where loaddate &amp;gt; date_format('2020-05-11','%Y-%m-%d');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it working over there???&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 20:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1701259#M725142</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2020-05-12T20:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL QUERY</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1701260#M725143</link>
      <description>&lt;P&gt;just try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SQL&amp;nbsp; select * from sales.db&lt;/P&gt;&lt;P&gt;Where loaddate &amp;gt; '&lt;STRONG&gt;&lt;SPAN&gt;2020-05-13 00:00:00&lt;/SPAN&gt;&lt;/STRONG&gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 20:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1701260#M725143</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2020-05-12T20:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL QUERY</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1701276#M725144</link>
      <description>&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;I tred the query in Qlikview but it is fetching the whole data&amp;nbsp;&lt;/P&gt;&lt;P&gt;SQL&amp;nbsp; select * from sales.db&lt;/P&gt;&lt;P&gt;Where loaddate &amp;gt; '&lt;STRONG&gt;&lt;SPAN&gt;2020-05-13 00:00:00&lt;/SPAN&gt;&lt;/STRONG&gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the same query work well and good in MySQL and gives me the data greater than the specified date .&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am really stuck on this ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 21:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1701276#M725144</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-05-12T21:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL QUERY</title>
      <link>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1701280#M725145</link>
      <description>&lt;P&gt;Thanks Prashanth this worked&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 22:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MySQL-QUERY/m-p/1701280#M725145</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-05-12T22:21:05Z</dc:date>
    </item>
  </channel>
</rss>

