<?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 REPLACE LOAD for a Resident Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237379#M88436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't get REPLACE LOAD to work at all with LOAD RESIDENT (V9 SR2).&lt;/P&gt;&lt;P&gt;The way I would normally do this is:&lt;/P&gt;&lt;P&gt;TEST:&lt;BR /&gt;LOAD ...&lt;/P&gt;&lt;P&gt;TESTtemp:&lt;BR /&gt;LOAD ... RESIDENT TEST&lt;/P&gt;&lt;P&gt;DROP TABLE TEST;&lt;BR /&gt;RENAME TABLE TESTtemp to TEST;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2010 21:47:09 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2010-02-11T21:47:09Z</dc:date>
    <item>
      <title>REPLACE LOAD for a Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237375#M88432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;I'd like to reprocess a previously loaded table, that's it, replacing it with a new configuration of fields an records.&lt;/P&gt;&lt;P&gt;Say for example the following source code :&lt;/P&gt;&lt;P&gt;[CODE]&lt;/P&gt;&lt;P&gt;TEST:&lt;BR /&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; *&lt;BR /&gt;INLINE [&lt;BR /&gt;NAME_TEST ;DATE_TEST ;TIME_TEST; VALUE_TEST&lt;BR /&gt;MARY ;01/01/2008 ;00:12:14 ; 200&lt;BR /&gt;MARY ;01/02/2008 ;00:12:15 ; 200&lt;BR /&gt;ANN ;04/01/2008 ;15:12:25 ; 300&lt;BR /&gt;MARY ;01/01/2009 ;00:20:20 ; 210&lt;BR /&gt;JOHN ;31/12/2008 ;14:20:30 ; 100&lt;BR /&gt;] (DELIMITER IS ';');&lt;BR /&gt;&lt;BR /&gt;REPLACE LOAD&lt;BR /&gt; *&lt;BR /&gt; ,LEFT(NAME_TEST,2) AS NAME_PREFIX&lt;BR /&gt;RESIDENT TEST ;//WHERE NAME_TEST='MARY';&lt;/P&gt;&lt;P&gt;[/CODE]&lt;/P&gt;&lt;P&gt;Of course I could rewrite the original LOAD statement but this is not the case.&lt;/P&gt;&lt;P&gt;I also know the embeded or cascade LOAD syntax (preceding LOAD). Again, this is not the case.&lt;/P&gt;&lt;P&gt;I really need to REPLACE, later on the script , the TEST table. As if I could do the LOAD statement in several layers or steps.&lt;/P&gt;&lt;P&gt;The source code above compiles OK, that is, there's no syntax error. But there's a general script error on the execution.&lt;/P&gt;&lt;P&gt;What could be wrong ?&lt;/P&gt;&lt;P&gt;BTW, there's a tiny QVW that you can use to test it.&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 17:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237375#M88432</guid>
      <dc:creator />
      <dc:date>2010-02-11T17:04:37Z</dc:date>
    </item>
    <item>
      <title>REPLACE LOAD for a Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237376#M88433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adriano, is that what you try to achieve?&lt;/P&gt;&lt;P&gt;Cheers, Lukas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;TEST:&lt;BR /&gt;LOAD&lt;BR /&gt; *&lt;BR /&gt;INLINE [&lt;BR /&gt;NAME_TEST ;DATE_TEST ;TIME_TEST; VALUE_TEST&lt;BR /&gt;MARY ;01/01/2008 ;00:12:14 ; 200&lt;BR /&gt;MARY ;01/02/2008 ;00:12:15 ; 200&lt;BR /&gt;ANN ;04/01/2008 ;15:12:25 ; 300&lt;BR /&gt;MARY ;01/01/2009 ;00:20:20 ; 210&lt;BR /&gt;JOHN ;31/12/2008 ;14:20:30 ; 100&lt;BR /&gt;] (DELIMITER IS ';');&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;TEST2:&lt;BR /&gt;LOAD&lt;BR /&gt; *&lt;BR /&gt; ,LEFT(NAME_TEST,2) AS NAME_PREFIX&lt;BR /&gt;RESIDENT TEST ;&lt;BR /&gt;DROP TABLE TEST;&lt;BR /&gt;Rename table TEST2 to TEST;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 17:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237376#M88433</guid>
      <dc:creator />
      <dc:date>2010-02-11T17:31:51Z</dc:date>
    </item>
    <item>
      <title>REPLACE LOAD for a Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237377#M88434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;I understand your code can help me out.&lt;/P&gt;&lt;P&gt;However, I'd like to recover the original approach, which is to use the REPLACE/LOAD.&lt;/P&gt;&lt;P&gt;Someone else can explain us when REPLACE/LOAD is used ?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 18:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237377#M88434</guid>
      <dc:creator />
      <dc:date>2010-02-11T18:16:24Z</dc:date>
    </item>
    <item>
      <title>REPLACE LOAD for a Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237378#M88435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm. Well, I suspect that what's happening is that the REPLACE normally drops the original table first. When it sees you're loading from the original table, it probably just ignores the REPLACE, since otherwise it would be the same as dropping the table completely. I'm mostly guessing, and comparing what you did to doing a replace with a load from a different table, in which case the replace appears to work as intended.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 21:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237378#M88435</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-11T21:31:00Z</dc:date>
    </item>
    <item>
      <title>REPLACE LOAD for a Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237379#M88436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't get REPLACE LOAD to work at all with LOAD RESIDENT (V9 SR2).&lt;/P&gt;&lt;P&gt;The way I would normally do this is:&lt;/P&gt;&lt;P&gt;TEST:&lt;BR /&gt;LOAD ...&lt;/P&gt;&lt;P&gt;TESTtemp:&lt;BR /&gt;LOAD ... RESIDENT TEST&lt;/P&gt;&lt;P&gt;DROP TABLE TEST;&lt;BR /&gt;RENAME TABLE TESTtemp to TEST;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 21:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237379#M88436</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-02-11T21:47:09Z</dc:date>
    </item>
    <item>
      <title>REPLACE LOAD for a Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237380#M88437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&lt;/P&gt;&lt;P&gt;As I notice, there are TWO similar answers, both them suggesting me to use the RENAME approach.&lt;/P&gt;&lt;P&gt;However, I still dont understand the original intent to use the REPLACE LOAD. I can't see the point.&lt;/P&gt;&lt;P&gt;What's that used for ? What's the idea ? I don't get it.&lt;/P&gt;&lt;P&gt;You LOAD something and then, simply LOAD something new ONTO it, totally discarding the previous LOAD. There's no point.&lt;/P&gt;&lt;P&gt;IMHO, the REPLACE LOAD is mistakenly implemented.&lt;/P&gt;&lt;P&gt;Anyway, hope someone else from QlikTech can enlighten us about it.&lt;/P&gt;&lt;P&gt;How do we call them ? Where's the "QlikTech, Look at this point here!" button ?&lt;/P&gt;&lt;P&gt;See ya !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 11:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237380#M88437</guid>
      <dc:creator />
      <dc:date>2010-02-12T11:17:00Z</dc:date>
    </item>
    <item>
      <title>REPLACE LOAD for a Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237381#M88438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Honestly, I have no idea what the replace load is for. I've never used it, and it looks pointless. Hopefully someone can explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 19:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237381#M88438</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-12T19:42:21Z</dc:date>
    </item>
    <item>
      <title>REPLACE LOAD for a Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237382#M88439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPLACE ONLY LOAD is used with the partial reload feature when you want to reload selected tables while retaining other previously loaded tables.&lt;/P&gt;&lt;P&gt;I don't know of a practical use of REPLACE without using partial reload.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2010 09:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REPLACE-LOAD-for-a-Resident-Table/m-p/237382#M88439</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-02-13T09:29:05Z</dc:date>
    </item>
  </channel>
</rss>

