<?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: where clause in SQL statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752475#M667035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many of us regularly use where clauses in our QlikView SQL extracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this instance it may be that there's an issue with string / numeric conversion. If your locationid field is numeric, try removing the single quotes from your where clause&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Nov 2014 18:10:25 GMT</pubDate>
    <dc:creator>marcus_malinow</dc:creator>
    <dc:date>2014-11-17T18:10:25Z</dc:date>
    <item>
      <title>where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752468#M667028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my load statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; eventid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; soldon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(soldon) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(soldon) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(soldon) as Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; price;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM advast&lt;/P&gt;&lt;P&gt;where soldon&amp;gt;'11/11/2014';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an error saying &lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM advast&lt;/P&gt;&lt;P&gt;where soldon&amp;gt;'11/11/2014'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what is wrong with my script, without the WHERE clause it works fine.&lt;/P&gt;&lt;P&gt;Does the where clause just not work in a SQL statement in QV?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 00:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752468#M667028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-15T00:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752469#M667029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works, but the SQL syntax could be wrong. What data type is soldon in the database ? and what database is this ? (oracle, SQL Server etc...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 01:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752469#M667029</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-15T01:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752470#M667030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;apparently this error is obtained.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="ejemplo_14112014.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71334_ejemplo_14112014.png" /&gt;&lt;/P&gt;&lt;P&gt;already dealt with the connection, ODBC or OLE DB, you must apply before your code&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="ejemplo_141120142.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71335_ejemplo_141120142.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I leave this link can help &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-message-small" data-containerid="2003" data-containertype="14" data-objectid="607512" data-objecttype="2" href="http://community.qlik.com/message/607512#607512"&gt;http://community.qlik.com/message/607512#607512&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 01:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752470#M667030</guid>
      <dc:creator>jer_2011</dc:creator>
      <dc:date>2014-11-15T01:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752471#M667031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For most of the Sql based databases date has to be in this format '11-Nov-2014'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this it should be, This is a SQL Query successfully executed on a Oracle Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71345_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 09:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752471#M667031</guid>
      <dc:creator />
      <dc:date>2014-11-15T09:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752472#M667032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an OLE DB connection for Visual FoxPro&lt;/P&gt;&lt;P&gt;I tried to apply the code before the connection, not sure how it's supposed to work but I still get a script error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 18:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752472#M667032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-17T18:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752473#M667033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try using the canonical date format 'YYYY-MM-DD', and see if this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be that your localisation settings are causing the date to be misinterpreted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 18:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752473#M667033</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2014-11-17T18:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752474#M667034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did anyone apply a successfully where clause on a sql statement in qlikview, does anyone know any documentation on that? &lt;/P&gt;&lt;P&gt;I tried applying a different where clause on a simple numeric field and this format keeps giving me an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD imach,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `trans_act`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; locationid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; reftrans&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM todin&lt;/P&gt;&lt;P&gt;where locationid='22';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 18:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752474#M667034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-17T18:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752475#M667035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many of us regularly use where clauses in our QlikView SQL extracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this instance it may be that there's an issue with string / numeric conversion. If your locationid field is numeric, try removing the single quotes from your where clause&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 18:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752475#M667035</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2014-11-17T18:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752476#M667036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also, remove the single quotes from around 'trans_act'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 18:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752476#M667036</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2014-11-17T18:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752477#M667037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked for the numeric field, removing the single quotes, now I'm working on formatting the date field for my where clause to work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 18:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752477#M667037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-17T18:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752478#M667038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;date(soldon) &amp;gt; date(11/11/2014)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 18:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752478#M667038</guid>
      <dc:creator />
      <dc:date>2014-11-17T18:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752479#M667039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried it, it didn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 19:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752479#M667039</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-17T19:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752480#M667040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Smaranda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is your DB?&lt;/P&gt;&lt;P&gt;If you run the script in debug you can see the exact query executed, you can copy and past this query in your SQL Tool and execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to check the correct sintax for the query and try to create in the script a similar query.&lt;/P&gt;&lt;P&gt;Usually for the date in query I like to write date in format YYYY-MM-DD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.pljsoftware.com/"&gt;PLJ Software&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 10:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752480#M667040</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2014-11-18T10:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752481#M667041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;ok. If I were you I would try to narrow down the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Does this work?&lt;/P&gt;&lt;P&gt;WHERE date(soldon) = today() ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) On your load statement try both soldon, date(soldon) and see what date format you get without the where clause. This is to see how date() function converts soldon field. Is that a true date or string field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Depending on the result of no. 2 above, try using similar date values in your WHERE clause and see what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be that difficult but think something is missing as I tried the no. 1 step and worked for me. But of course, i'm using DB2 and SQL server databases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 15:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752481#M667041</guid>
      <dc:creator />
      <dc:date>2014-11-18T15:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752482#M667042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing the Date around&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&amp;nbsp; eventid,&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemid,&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; soldon,&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(soldon) as Year,&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(soldon) as Month,&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(soldon) as Day,&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; price;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM advast&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where soldon &amp;gt; '2014/11/11';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 15:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752482#M667042</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-11-18T15:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752483#M667043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&amp;nbsp; eventid,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemid,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; soldon,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(soldon) as Year,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(soldon) as Month,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(soldon) as Day,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; price&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;where soldon&amp;gt;'11/11/2014'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM advast&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;should work but could take a longer time to load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 15:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752483#M667043</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-11-18T15:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752484#M667044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which database? Are you getting error while connecting to database? Or Are you not getting correct results?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 17:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752484#M667044</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-18T17:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752485#M667047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried a different ways of querying&lt;/P&gt;&lt;P&gt;soldon&amp;gt;'11/11/2014'&lt;/P&gt;&lt;P&gt;soldon&amp;gt;'2014/11/11'&lt;/P&gt;&lt;P&gt;date(soldon)&amp;gt;date(11/11/2014)&lt;/P&gt;&lt;P&gt;date(soldon)&amp;gt;today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I confirmed the format is MM/DD/YYYY&lt;/P&gt;&lt;P&gt; the only way it worked so far was this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&amp;nbsp; eventid,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemid,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; soldon,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(soldon) as Year,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(soldon) as Month,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(soldon) as Day,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; price&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;where soldon&amp;gt;'11/11/2014'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM advast&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 17:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752485#M667047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-18T17:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752486#M667048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a guess without having a visual foxpro database to test, but this link provided some ideas....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/229854" title="http://support.microsoft.com/kb/229854"&gt;Visual FoxPro ODBC Driver query fails if the date format is not the AMERICAN date format&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="71571" alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71571_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also need to pass in the data as a variable&lt;/P&gt;&lt;P&gt;IE:&lt;/P&gt;&lt;P&gt;Set&amp;nbsp; vDate='{07/22/93}'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then...&lt;/P&gt;&lt;P&gt;Select * FROM ORDERS WHERE ORDER_DATE &amp;lt;&amp;nbsp; $(vDate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 17:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752486#M667048</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-18T17:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752487#M667050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This work but as you said it's slow and I'm worried it might slow down the database&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 17:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-SQL-statement/m-p/752487#M667050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-18T17:42:02Z</dc:date>
    </item>
  </channel>
</rss>

