<?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 where to_date() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-where-to-date/m-p/467104#M698393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Convert function works correctly. I had a problem in another filter so no data was extracted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much,&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2013 13:43:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-29T13:43:10Z</dc:date>
    <item>
      <title>SQL where to_date()</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-where-to-date/m-p/467102#M698391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a problem on a data loading.&lt;/P&gt;&lt;P&gt;I want to filter the data during loading step with a date filter, for example:&lt;/P&gt;&lt;P&gt;SQL Select *&lt;/P&gt;&lt;P&gt;from db&lt;/P&gt;&lt;P&gt;where DateDB &amp;gt; TO_DATE('01012013','DDMMYYYY');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script does not show any error but it does not extract any record (but record with those dates are present in db).&lt;/P&gt;&lt;P&gt;Database is SQL Server db.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me?&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 11:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-where-to-date/m-p/467102#M698391</guid>
      <dc:creator />
      <dc:date>2013-01-29T11:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: SQL where to_date()</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-where-to-date/m-p/467103#M698392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TO_DATE is an oracle function, not a SQL SERVER one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Let vCutDate = date(Today(),'MM/dd/yyyy');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;LOAD *;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;FROM db&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;WHERE &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;DateDB &lt;/SPAN&gt;&amp;gt;= convert(datetime,'$(vCutDate)',101);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Or check the SQL Server convert function online&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 12:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-where-to-date/m-p/467103#M698392</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2013-01-29T12:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: SQL where to_date()</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-where-to-date/m-p/467104#M698393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Convert function works correctly. I had a problem in another filter so no data was extracted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much,&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 13:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-where-to-date/m-p/467104#M698393</guid>
      <dc:creator />
      <dc:date>2013-01-29T13:43:10Z</dc:date>
    </item>
  </channel>
</rss>

