<?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: Date issue in where clause in SQL statement in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006592#M646128</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 would probably check what the data looks like in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just use debug and load ten lines, Check the format of the TDTIME and then Format as needed.&lt;/P&gt;&lt;P&gt;Another option is to format the field something like DATE(TDTIME,'DD-MMM-YY') as TDTIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2015 08:48:46 GMT</pubDate>
    <dc:creator>Mark_Little</dc:creator>
    <dc:date>2015-11-17T08:48:46Z</dc:date>
    <item>
      <title>Date issue in where clause in SQL statement in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006591#M646123</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&amp;nbsp; am creating a table in qlikview using sql query. Query works fine in SQL returns records (Oracle Database) but the same&amp;nbsp; query returns zero records in Qlikview. I am using variable to get '30-JUN-15' this value but it was not returning anything so tried using hard code value but still the same problem.&lt;/P&gt;&lt;P&gt;ABC:&lt;/P&gt;&lt;P&gt;Load *;&lt;/P&gt;&lt;P&gt;SQL Select * from xyx where TDTIME='30-JUN-15';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried changing date formats but its not working. I dont want to use script like as i already have huge data set.&lt;/P&gt;&lt;P&gt;ABC:&lt;/P&gt;&lt;P&gt;Load * where TDTIME='30-JUN-15';&lt;/P&gt;&lt;P&gt;SQL Select * from xyx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help.? Thanks you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 06:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006591#M646123</guid>
      <dc:creator>miranrai</dc:creator>
      <dc:date>2015-11-17T06:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date issue in where clause in SQL statement in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006592#M646128</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 would probably check what the data looks like in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just use debug and load ten lines, Check the format of the TDTIME and then Format as needed.&lt;/P&gt;&lt;P&gt;Another option is to format the field something like DATE(TDTIME,'DD-MMM-YY') as TDTIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 08:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006592#M646128</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-17T08:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date issue in where clause in SQL statement in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006593#M646137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi Mira,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You can also try the below one,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;ABC:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Load * where TDTIME = &lt;SPAN style="color: #ff0000;"&gt;Num(Date# ('17-Nov-2015','DD-MMM-YYYY'))&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SQL Select * from xyx;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;I guess, after you load the data into qlikview date fomat might changed to number format. You can also follow Mark's solution.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 09:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006593#M646137</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-17T09:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date issue in where clause in SQL statement in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006594#M646138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you try sth like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ABC:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL Select * from xyx where &lt;STRONG&gt;date(TDTIME,'DD-MMM-YY')&lt;/STRONG&gt;='30-JUN-15';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 09:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006594#M646138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-17T09:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date issue in where clause in SQL statement in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006595#M646139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your reply..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 08:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue-in-where-clause-in-SQL-statement-in-Qlikview/m-p/1006595#M646139</guid>
      <dc:creator>miranrai</dc:creator>
      <dc:date>2015-11-23T08:04:09Z</dc:date>
    </item>
  </channel>
</rss>

