<?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 select where clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-select-where-clause/m-p/2070954#M1223617</link>
    <description>&lt;P&gt;Thank you so much I got it ....&lt;/P&gt;</description>
    <pubDate>Sat, 13 May 2023 15:36:20 GMT</pubDate>
    <dc:creator>sivavasam</dc:creator>
    <dc:date>2023-05-13T15:36:20Z</dc:date>
    <item>
      <title>SQL select where clause</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-select-where-clause/m-p/2070940#M1223611</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While implementing incremental load source from Oracle database.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;vMaxDate = &lt;/EM&gt;Peek ('Maxdate&lt;EM&gt;&amp;nbsp;'&lt;/EM&gt;,0) and also tried ('MaxDate', 0,'Table name '&lt;/P&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;Status_Date,&lt;/P&gt;
&lt;P&gt;AAAA,&lt;/P&gt;
&lt;P&gt;BBBB,&lt;/P&gt;
&lt;P&gt;CCCC;&lt;/P&gt;
&lt;P&gt;SELECT&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Status_Date,&lt;/P&gt;
&lt;P&gt;AAAA,&lt;/P&gt;
&lt;P&gt;BBBB,&lt;/P&gt;
&lt;P&gt;CCCC&lt;/P&gt;
&lt;P&gt;FROM Table&lt;/P&gt;
&lt;P&gt;Where Status _Date &amp;gt;'&lt;STRONG&gt;20230131&lt;/STRONG&gt;' ; and tried ( where Status_Date &amp;gt; '$(vMaxDate)' but no use...I need this date format &lt;STRONG&gt;20230131 as&amp;nbsp;&lt;/STRONG&gt;variable which responds to select statement.&lt;/P&gt;
&lt;P&gt;Instead of Date I need to store Max date from QVD which is stored in variable . But it's not working.&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 11:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-select-where-clause/m-p/2070940#M1223611</guid>
      <dc:creator>sivavasam</dc:creator>
      <dc:date>2023-05-13T11:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: SQL select where clause</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-select-where-clause/m-p/2070952#M1223616</link>
      <description>&lt;P&gt;Hi, you can give that format to the vMaxDate variable using the Date() function:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;vMaxDate =&lt;SPAN&gt;&amp;nbsp;Date(&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;Peek ('MaxDate',&lt;/SPAN&gt;&lt;SPAN&gt;0),'YYYYMMDD')&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You also need to confirm that the max date has been loaded on the table where MaxDate field is loaded.&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 14:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-select-where-clause/m-p/2070952#M1223616</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2023-05-13T14:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: SQL select where clause</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-select-where-clause/m-p/2070954#M1223617</link>
      <description>&lt;P&gt;Thank you so much I got it ....&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 15:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-select-where-clause/m-p/2070954#M1223617</guid>
      <dc:creator>sivavasam</dc:creator>
      <dc:date>2023-05-13T15:36:20Z</dc:date>
    </item>
  </channel>
</rss>

