<?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: What does the clause Resident do ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672903#M1058090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good example where resident is used is when using interval match&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;OrderLog will be your 1st table name, it contains Start and End times (Range)&lt;BR /&gt;EventLog will be the 2nd table, it contains actual event times (Actuals)&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Now to match the event times in the 2nd table with the start and end times in the 1st table we use the intervalmatch function, but instead of reloading the data from the source again, &lt;STRONG&gt;we point to the existing data in the OrderLog table using the Resident command instead&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;OrderLog: &lt;/P&gt;&lt;P class="Code"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P class="Code"&gt;Start, End, Order&lt;/P&gt;&lt;P class="Code"&gt;01:00, 03:35, A&lt;/P&gt;&lt;P class="Code"&gt;02:30, 07:58, B&lt;/P&gt;&lt;P class="Code"&gt;03:04, 10:27, C&lt;/P&gt;&lt;P class="Code"&gt;07:23, 11:43, D&lt;/P&gt;&lt;P class="Code"&gt;];&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;EventLog:&lt;/P&gt;&lt;P class="Code"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P class="Code"&gt;Time, Event, Comment&lt;/P&gt;&lt;P class="Code"&gt;00:00, 0, Start of shift 1&lt;/P&gt;&lt;P class="Code"&gt;01:18, 1, Line stop&lt;/P&gt;&lt;P class="Code"&gt;02:23, 2, Line restart 50%&lt;/P&gt;&lt;P class="Code"&gt;04:15, 3, Line speed 100%&lt;/P&gt;&lt;P class="Code"&gt;08:00, 4, Start of shift 2&lt;/P&gt;&lt;P class="Code"&gt;11:43, 5, End of production&lt;/P&gt;&lt;P class="Code"&gt;];&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;IntervalMatch (Time)&lt;/P&gt;&lt;P class="Code"&gt;LOAD Start,&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&lt;/P&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;Resident OrderLog;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 12:38:12 GMT</pubDate>
    <dc:creator>joggiek</dc:creator>
    <dc:date>2014-10-07T12:38:12Z</dc:date>
    <item>
      <title>What does the clause Resident do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672896#M1058083</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;This may seem obvious but what does the scripting term 'Resident' actually do. I've seen it in many scripts but I've not been able to work out what it's actually for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;MV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 11:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672896#M1058083</guid>
      <dc:creator />
      <dc:date>2014-10-07T11:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: What does the clause Resident do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672897#M1058084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOads data yet loaded and actually resident in memory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672897#M1058084</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-07T12:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: What does the clause Resident do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672898#M1058085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is used when fetching data from a table that is already loaded&lt;/P&gt;&lt;P&gt;A table that has been loaded in the script can be accessed using a Load ... resident statement in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672898#M1058085</guid>
      <dc:creator>joggiek</dc:creator>
      <dc:date>2014-10-07T12:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: What does the clause Resident do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672899#M1058086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A name="kanchor803"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;Resident&lt;/SPAN&gt; is used if data should be loaded from a previously loaded table. T&lt;SPAN class="Italic"&gt;able label&lt;/SPAN&gt; is a label preceding the &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement(s) that created the original table. The label should be given with a colon at the end. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2,&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;From &amp;lt;DataSource&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Field1=Field2, 'Yes', 'No') As Flag&lt;/P&gt;&lt;P&gt;Resident Tab1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Tab1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672899#M1058086</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-10-07T12:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: What does the clause Resident do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672900#M1058087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why would you want to re-load data that you've already loaded ? Surely, once data has been loaded into a QV table then it stays loaded ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Confused&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672900#M1058087</guid>
      <dc:creator />
      <dc:date>2014-10-07T12:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: What does the clause Resident do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672901#M1058088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to reload that set of data to use an aggregation table or to concatenate to other tables or to join or to use qlik native instruction instead of the database instruction ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672901#M1058088</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-07T12:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: What does the clause Resident do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672902#M1058089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This really isn't helpful. If all you can suggest is researching other knowledge sources then you shouldn't bother. I've asked this question because I haven't been able to find an answer I fully understand. I did look it up in the Reference Manual but my general ignorance of QV was insufficient to comprehend the definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we all did what you suggest then there'd really be no point of a Community forum. Remember, not all of us are techies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672902#M1058089</guid>
      <dc:creator />
      <dc:date>2014-10-07T12:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: What does the clause Resident do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672903#M1058090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good example where resident is used is when using interval match&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;OrderLog will be your 1st table name, it contains Start and End times (Range)&lt;BR /&gt;EventLog will be the 2nd table, it contains actual event times (Actuals)&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Now to match the event times in the 2nd table with the start and end times in the 1st table we use the intervalmatch function, but instead of reloading the data from the source again, &lt;STRONG&gt;we point to the existing data in the OrderLog table using the Resident command instead&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;OrderLog: &lt;/P&gt;&lt;P class="Code"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P class="Code"&gt;Start, End, Order&lt;/P&gt;&lt;P class="Code"&gt;01:00, 03:35, A&lt;/P&gt;&lt;P class="Code"&gt;02:30, 07:58, B&lt;/P&gt;&lt;P class="Code"&gt;03:04, 10:27, C&lt;/P&gt;&lt;P class="Code"&gt;07:23, 11:43, D&lt;/P&gt;&lt;P class="Code"&gt;];&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;EventLog:&lt;/P&gt;&lt;P class="Code"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P class="Code"&gt;Time, Event, Comment&lt;/P&gt;&lt;P class="Code"&gt;00:00, 0, Start of shift 1&lt;/P&gt;&lt;P class="Code"&gt;01:18, 1, Line stop&lt;/P&gt;&lt;P class="Code"&gt;02:23, 2, Line restart 50%&lt;/P&gt;&lt;P class="Code"&gt;04:15, 3, Line speed 100%&lt;/P&gt;&lt;P class="Code"&gt;08:00, 4, Start of shift 2&lt;/P&gt;&lt;P class="Code"&gt;11:43, 5, End of production&lt;/P&gt;&lt;P class="Code"&gt;];&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;IntervalMatch (Time)&lt;/P&gt;&lt;P class="Code"&gt;LOAD Start,&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&lt;/P&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;Resident OrderLog;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672903#M1058090</guid>
      <dc:creator>joggiek</dc:creator>
      <dc:date>2014-10-07T12:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: What does the clause Resident do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672904#M1058091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a good example and a great help. Thanks very much.&lt;/P&gt;&lt;P&gt;MV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-the-clause-Resident-do/m-p/672904#M1058091</guid>
      <dc:creator />
      <dc:date>2014-10-07T12:54:40Z</dc:date>
    </item>
  </channel>
</rss>

