<?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 Between function in where clause+load csv file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230127#M81995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You cannot use the between function in load statement, it is belongs to SQL.&lt;/P&gt;&lt;P&gt;instead of it u can use AND statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Feb 2011 09:58:23 GMT</pubDate>
    <dc:creator>maneshkhottcpl</dc:creator>
    <dc:date>2011-02-25T09:58:23Z</dc:date>
    <item>
      <title>Between function in where clause+load csv file</title>
      <link>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230126#M81994</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 load statement and my problem is that when I load a csv file, the &lt;B&gt;Between And&lt;/B&gt; statement in my where clause are treated as garbage..&lt;/P&gt;&lt;P&gt;is there any other way so that I can use date range in my script..&lt;/P&gt;&lt;P&gt;Here's the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [User ID],&lt;/P&gt;&lt;P&gt;[First Name],&lt;/P&gt;&lt;P&gt;[Last Name],&lt;/P&gt;&lt;P&gt;Department,&lt;/P&gt;&lt;P&gt;date(date#(Date,'YYYY/M/D')) as LogDate,&lt;/P&gt;&lt;P&gt;Time,&lt;/P&gt;&lt;P&gt;Event,&lt;/P&gt;&lt;P&gt;Terminal,&lt;/P&gt;&lt;P&gt;Remark&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;\\Phoenix\Qlik\report.csv&lt;/P&gt;&lt;P&gt;(txt, utf8, embedded labels, delimiter is ',')&lt;/P&gt;&lt;P&gt;Where Date Between $(vFromDate) AND Date &amp;lt;= $(vToDate);&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 09:13:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230126#M81994</guid>
      <dc:creator />
      <dc:date>2011-02-25T09:13:43Z</dc:date>
    </item>
    <item>
      <title>Between function in where clause+load csv file</title>
      <link>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230127#M81995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You cannot use the between function in load statement, it is belongs to SQL.&lt;/P&gt;&lt;P&gt;instead of it u can use AND statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 09:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230127#M81995</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-02-25T09:58:23Z</dc:date>
    </item>
    <item>
      <title>Between function in where clause+load csv file</title>
      <link>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230128#M81996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;as manesh said true...&lt;/P&gt;&lt;P&gt;u can use the where clause to load the data as like&lt;/P&gt;&lt;P&gt;Where Date &amp;gt;= $(vFromDate) AND Date &amp;lt;= $(vToDate);&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Where Date &amp;gt;= '$(vFromDate)' AND Date &amp;lt;= '(vToDate)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 11:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230128#M81996</guid>
      <dc:creator />
      <dc:date>2011-02-25T11:53:05Z</dc:date>
    </item>
    <item>
      <title>Between function in where clause+load csv file</title>
      <link>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230129#M81997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I tried that. but throwing error about Date and Varchar conversion issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 02:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230129#M81997</guid>
      <dc:creator />
      <dc:date>2011-10-12T02:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Between function in where clause+load csv file</title>
      <link>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230130#M81998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that. but throwing error about Date and Varchar conversion issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 02:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230130#M81998</guid>
      <dc:creator />
      <dc:date>2011-10-12T02:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Between function in where clause+load csv file</title>
      <link>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230131#M81999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; Atlast I have resolved my issue . The script goes like this:&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;Where (modifiedTimeStamp &amp;gt;= {d '$(StartDate)'} AND modifiedTimeStamp &amp;lt; {d '$(EndDate)'}); &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;The Script works.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 04:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-function-in-where-clause-load-csv-file/m-p/230131#M81999</guid>
      <dc:creator />
      <dc:date>2011-11-21T04:14:02Z</dc:date>
    </item>
  </channel>
</rss>

