<?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: QlikView Resident Load in SQL where clause in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QlikView-Resident-Load-in-SQL-where-clause/m-p/1949982#M78283</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/185891"&gt;@devarshigoswami&lt;/a&gt;&amp;nbsp;Whenever you type SQL in Script Editor, Qlik will hit the SQL server to fetch the data from there.&lt;/P&gt;
&lt;P&gt;In your Example, you don't have to mention SQL&amp;nbsp; again before the load for the 'Main' table since that data is already fetched. All that you need to do is:&lt;/P&gt;
&lt;P&gt;Noconcatenate&lt;/P&gt;
&lt;P&gt;Main:&lt;/P&gt;
&lt;P&gt;Load * Resident TMP group b column_name;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 03:20:20 GMT</pubDate>
    <dc:creator>sidhiq91</dc:creator>
    <dc:date>2022-06-30T03:20:20Z</dc:date>
    <item>
      <title>QlikView Resident Load in SQL where clause</title>
      <link>https://community.qlik.com/t5/App-Development/QlikView-Resident-Load-in-SQL-where-clause/m-p/1949882#M78277</link>
      <description>&lt;P&gt;Thanks for taking the time to read this....&lt;BR /&gt;Can I add a resident load in SQL FROM clause?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like so ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TMP:&lt;BR /&gt;SQL SELECT * from table WHERE date_parse(date,'%Y-%m-%d') &amp;lt; date_trunc('month', current_date) &lt;BR /&gt;and&lt;BR /&gt;date_parse(date,'%Y-%m-%d') &amp;gt;= date_trunc('month', current_date) - interval '1' month&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;Main:&lt;/P&gt;
&lt;P&gt;SQL&amp;nbsp;SELECT item, max(date)&amp;nbsp;&lt;BR /&gt;FROM&amp;nbsp;&lt;EM&gt;Resident TMP&lt;/EM&gt;&lt;BR /&gt;GROUP BY 1;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 18:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikView-Resident-Load-in-SQL-where-clause/m-p/1949882#M78277</guid>
      <dc:creator>devarshigoswami</dc:creator>
      <dc:date>2022-06-29T18:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Resident Load in SQL where clause</title>
      <link>https://community.qlik.com/t5/App-Development/QlikView-Resident-Load-in-SQL-where-clause/m-p/1949897#M78278</link>
      <description>&lt;P&gt;I'm more of a Qlik Sense Guy, but I think this is not possible in neither of the Qlik products (Qlikview and or Qlik Sense)&lt;/P&gt;
&lt;P&gt;what you could do is load the TMP table into qlik first. after that do something like Main: noconcatenate Load * resident TMP Group BY 1; and drop the TMP table with drop table TMP;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 19:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikView-Resident-Load-in-SQL-where-clause/m-p/1949897#M78278</guid>
      <dc:creator>MartW</dc:creator>
      <dc:date>2022-06-29T19:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Resident Load in SQL where clause</title>
      <link>https://community.qlik.com/t5/App-Development/QlikView-Resident-Load-in-SQL-where-clause/m-p/1949982#M78283</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/185891"&gt;@devarshigoswami&lt;/a&gt;&amp;nbsp;Whenever you type SQL in Script Editor, Qlik will hit the SQL server to fetch the data from there.&lt;/P&gt;
&lt;P&gt;In your Example, you don't have to mention SQL&amp;nbsp; again before the load for the 'Main' table since that data is already fetched. All that you need to do is:&lt;/P&gt;
&lt;P&gt;Noconcatenate&lt;/P&gt;
&lt;P&gt;Main:&lt;/P&gt;
&lt;P&gt;Load * Resident TMP group b column_name;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 03:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikView-Resident-Load-in-SQL-where-clause/m-p/1949982#M78283</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-06-30T03:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Resident Load in SQL where clause</title>
      <link>https://community.qlik.com/t5/App-Development/QlikView-Resident-Load-in-SQL-where-clause/m-p/1950583#M78325</link>
      <description>&lt;P&gt;If you want to process the result of another SQL, Just use a nested query!!&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Main:
SQL
SELECT A.item, max(A.date) 
FROM
(SELECT * from table WHERE date_parse(date,'%Y-%m-%d') &amp;lt; date_trunc('month', current_date)
and
date_parse(date,'%Y-%m-%d') &amp;gt;= date_trunc('month', current_date) - interval '1' month
) A
Group by A.item
;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 06:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikView-Resident-Load-in-SQL-where-clause/m-p/1950583#M78325</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-07-01T06:29:51Z</dc:date>
    </item>
  </channel>
</rss>

