<?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 Add, Add Only and Replace, Replace Only in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-Add-Only-and-Replace-Replace-Only/m-p/936555#M969849</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;How it works Add and Adds Only when it click by reload.&lt;/P&gt;&lt;P&gt;‌How it works Add and Adds Only when it click by partial reload.&lt;/P&gt;&lt;P&gt;How it works Replace and Replace Only when it click by reload.&lt;/P&gt;&lt;P&gt;How it works replace and Replace Only when it click by partial reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;NIhhal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Sep 2015 13:43:59 GMT</pubDate>
    <dc:creator>nihhalmca</dc:creator>
    <dc:date>2015-09-12T13:43:59Z</dc:date>
    <item>
      <title>Add, Add Only and Replace, Replace Only</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Add-Only-and-Replace-Replace-Only/m-p/936555#M969849</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;How it works Add and Adds Only when it click by reload.&lt;/P&gt;&lt;P&gt;‌How it works Add and Adds Only when it click by partial reload.&lt;/P&gt;&lt;P&gt;How it works Replace and Replace Only when it click by reload.&lt;/P&gt;&lt;P&gt;How it works replace and Replace Only when it click by partial reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;NIhhal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2015 13:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Add-Only-and-Replace-Replace-Only/m-p/936555#M969849</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2015-09-12T13:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add, Add Only and Replace, Replce Only</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Add-Only-and-Replace-Replace-Only/m-p/936556#M969850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nihhal,&lt;/P&gt;&lt;P&gt;Those statements represent keywords that indicate when LOAD statements are to be exeucted in Full vs. Partial reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt; statements will attempt during Full reloads&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{ADD|REPLACE} LOAD&lt;/STRONG&gt; statements will attempt during both Full &amp;amp; Partial reloads&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;{ADD|REPLACE} {ONLY} LOAD&lt;/STRONG&gt; will only attempt to fulfill during Partial reloads&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There is one key piece missing from documentation however, that can be confusing.&lt;/P&gt;&lt;H1&gt;Replace&lt;/H1&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;The &lt;SPAN class="Bold"&gt;replace&lt;/SPAN&gt; prefix can be added to any &lt;A class="MCXref_0"&gt;&lt;SPAN style="; color: #0066cc; text-decoration: underline;"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/SPAN&gt;&lt;/A&gt;, &lt;A class="MCXref_0"&gt;&lt;SPAN style="; color: #0066cc; text-decoration: underline;"&gt;&lt;EM&gt;Select (SQL)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/A&gt; or &lt;A class="MCXref_0"&gt;&lt;SPAN style="; color: #0066cc; text-decoration: underline;"&gt;&lt;EM&gt;Map ... using&lt;/EM&gt;&lt;/SPAN&gt;&lt;/A&gt; statement in the script. The &lt;SPAN class="Bold"&gt;replace load&lt;/SPAN&gt;/&lt;SPAN class="Bold"&gt;replace select&lt;/SPAN&gt; statement has the effect of dropping the entire QlikView table, for which a table name is generated by the &lt;SPAN class="Bold"&gt;replace load&lt;/SPAN&gt;/&lt;SPAN class="Bold"&gt;replace select&lt;/SPAN&gt; statement, and replacing it with a new table containing the result of the &lt;SPAN class="Bold"&gt;replace load&lt;/SPAN&gt;/&lt;SPAN class="Bold"&gt;replace select&lt;/SPAN&gt; statement. The effect is the same during &lt;A class="MCXref_0"&gt;&lt;SPAN style="; color: #0066cc; text-decoration: underline;"&gt;&lt;EM&gt;Partial Reload&lt;/EM&gt;&lt;/SPAN&gt;&lt;/A&gt; and full reload. The &lt;SPAN class="Bold"&gt;replace map...using&lt;/SPAN&gt; statement causes mapping to take place also during partial script execution.&lt;/P&gt;







&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is not mentioned here is that if you alter the field structure of the table targeted for replacement in any way, REPLACE will fail to correlate the original to the incoming and it will instead add a second table to the data model, that takes the original table name and appends the '-#' suffix to it..&lt;IMG __jive_id="98739" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98739_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(example results where during partial reload, attempt is made to REPLACE original single field table [FrenchFries], and replace it with a two-field table.&amp;nbsp; If you were attempting REPLACE on a massive fact table, and wanted to create, drop, or alias any of the columns, the results after partial reload would be two-parallel copies of the fact table in the data model resulting in a giant synthetic key that will bomb out the app.) &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in cases where you want to REPLACE a table with one that has a tweaked or altered field structure &lt;EM&gt;(which can be often), &lt;/EM&gt;if you're going about that via partial reloads, you have to use a DROP | ADD combination.&amp;nbsp; REPLACE works when the table structure is solidified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2015 14:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Add-Only-and-Replace-Replace-Only/m-p/936556#M969850</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2015-09-12T14:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add, Add Only and Replace, Replce Only</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Add-Only-and-Replace-Replace-Only/m-p/936557#M969851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evan,&lt;/P&gt;&lt;P&gt;Thanks for response.&lt;/P&gt;&lt;P&gt;I tried Add and Replace by Partial reload however, it is loading/refreshing all table instead of table where i prefix add/replace. can you assist me on this.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Please find the attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Nihhal.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 05:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Add-Only-and-Replace-Replace-Only/m-p/936557#M969851</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2015-09-16T05:49:38Z</dc:date>
    </item>
  </channel>
</rss>

