<?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: SQL question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694147#M674994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inplace of CURDATE() you can use NOW() in the qlikview and use it in the load query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 08:54:11 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-07-17T08:54:11Z</dc:date>
    <item>
      <title>SQL question</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694146#M674993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to put two layers together - an SQL_SELECT (that would output a qvd file) and the consecutive LOAD in QlikView - I need to put both together in one SQL statement to have a "live" access to the database.&lt;/P&gt;&lt;P&gt;What I'm currently trying to do is to limit that to the current day.&lt;/P&gt;&lt;P&gt;=&amp;gt; Can I use the CURDATE() function I have found on some MySQL-site to do that?&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;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 08:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694146#M674993</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-17T08:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: SQL question</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694147#M674994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inplace of CURDATE() you can use NOW() in the qlikview and use it in the load query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 08:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694147#M674994</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-07-17T08:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL question</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694148#M674995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the answer! But NOW() would give me the time as well, no? But I want all the records from the current day, so - well, I could split the output of NOW() to have only the date, but that seems to be a bit overdone...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 08:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694148#M674995</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-17T08:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: SQL question</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694149#M674996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand the requirement correctly, u are trying to do the preceding load&lt;/P&gt;&lt;P&gt;If you are using the MSSQL Server as Database, you can use the bellow condition in where clause of SQL statemnet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EX:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load *;&lt;/P&gt;&lt;P&gt;SQL select&amp;nbsp; * from&amp;nbsp; Table1&lt;/P&gt;&lt;P&gt;where Date_Field=convert(Date,getdate());&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 09:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694149#M674996</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2014-07-17T09:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: SQL question</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694150#M674997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes - we have Preceding_LOADs everywhere with our SQL_statements. Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 09:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-question/m-p/694150#M674997</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-17T09:35:09Z</dc:date>
    </item>
  </channel>
</rss>

