<?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: Issue with use variable in SQL statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342791#M825596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shivesh,&lt;/P&gt;&lt;P&gt;You are correct,&lt;/P&gt;&lt;P&gt;However Syntax is&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #ff0000;"&gt;LET&lt;/SPAN&gt; V&lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;_DT_END&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=Peek(&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;DT_MAX&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 11:41:42 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-07-20T11:41:42Z</dc:date>
    <item>
      <title>Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342788#M825593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'am looking for use in my loading SQL statement, a date stored in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have in my script sheet :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&lt;EM&gt;1.SQL which fetch DT_MAX&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Select&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;to_char(max(DH_START),'DD/MM/YYYY') as DT_MAX&lt;BR /&gt;from MY_TABLE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&lt;EM&gt;2.Assignment of DT_MAX in a variable&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET V&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;_DT_END&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=DT_MAX; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&lt;EM&gt;3.Use of &lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;V&lt;STRONG style=": ; color: #008000; font-size: 8pt;"&gt;&lt;EM&gt;_DT_END&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt; in my SQL statement&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Select xxx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;from xxx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;where DT between '01/01/2016' and $(V_DT_END)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;The third step don't works. If i write&amp;nbsp; between '01/01/2016' and '14/07/2017', it works. The problem is '. How to reproduce 'DT' with V_DT_END??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;I have tried différents ways but the issue remains.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342788#M825593</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342789#M825594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Write quotes &lt;/SPAN&gt; ('$(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;V_DT_END&lt;/SPAN&gt;)') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 10:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342789#M825594</guid>
      <dc:creator>mangalsk</dc:creator>
      <dc:date>2017-07-20T10:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342790#M825595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use peek function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peek(field_name[, row_no[, table_name ] ] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET V&lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;_DT_END&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=Peek(DT_MAX); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342790#M825595</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-07-20T11:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342791#M825596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shivesh,&lt;/P&gt;&lt;P&gt;You are correct,&lt;/P&gt;&lt;P&gt;However Syntax is&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #ff0000;"&gt;LET&lt;/SPAN&gt; V&lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;_DT_END&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=Peek(&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;DT_MAX&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342791#M825596</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-20T11:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342792#M825597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already tried but don't works&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342792#M825597</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-07-20T11:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342793#M825598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what value is thsi variable holding after executing the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i mean after using peek function..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can check in textbox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342793#M825598</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-07-20T12:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342794#M825599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but don't works with &lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #ff0000;"&gt;LET&lt;/SPAN&gt; V&lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;_DT_END&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=Peek(&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;DT_MAX&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;) and after DT between '01/01/2016' and $(V_DT_END)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342794#M825599</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-07-20T12:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342795#M825600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'$(V_DT_END)'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342795#M825600</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-20T12:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342796#M825601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #008000;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;try below&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #008000;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #008000;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;1.SQL which fetch DT_MAX&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Date:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #0000ff;"&gt;Select&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;to_char(max(DH_START),'DD/MM/YYYY') as DT_MAX&lt;BR /&gt;from MY_TABLE;&lt;/SPAN&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #008000;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;2.Assignment of DT_MAX in a variable&lt;/EM&gt;&lt;/SPAN&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt; V&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;&lt;EM style="font-weight: inherit; font-size: 10.6667px; font-family: inherit;"&gt;_DT_END&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;=&amp;nbsp; &lt;STRONG&gt;peek('DT_MAX',0,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;');&lt;/STRONG&gt;&lt;/SPAN&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #008000;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;3.Use of &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 10.6667px; font-family: inherit;"&gt;V&lt;STRONG style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 10.6667px; font-family: inherit;"&gt;_DT_END&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt; in my SQL statement&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #000000;"&gt;Select xxx&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #000000;"&gt;from xxx&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #000000;"&gt;where DT between '01/01/2016' and &lt;STRONG&gt;'$(V_DT_END)'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342796#M825601</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-07-20T12:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342797#M825602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Antonio, it works. I have to put ' two times, one in Peek(&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;DT_MAX&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;) and again with '$(V_DT_END)'. Strange no?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 13:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342797#M825602</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-07-20T13:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342798#M825603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Jean, because Peek(&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;DT_MAX&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;) -&amp;gt; is required from Peek() function&lt;/P&gt;&lt;P&gt;and '$(V_DT_END)' needs according SQL syntax.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 13:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342798#M825603</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-20T13:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with use variable in SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342799#M825604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use this variable in a textbox what value can you see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 13:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-use-variable-in-SQL-statement/m-p/1342799#M825604</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-20T13:50:09Z</dc:date>
    </item>
  </channel>
</rss>

