<?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 am I doing wrong in this resident load - drop table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-am-I-doing-wrong-in-this-resident-load-drop-table/m-p/301919#M111738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When two tables anywhere in the script share the same number of fields and all fields are named alike, the second one is concatenated implicitly to the previous one, resulting in one bigger table. And that's exactly what it's happening to you. So when you DROP the first table you are dropping actually both LOADs, because they are concatenated. Just using NOCONCATENATE keyword in the second LOAD will avoid this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sales01:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, USDSales, USDMargin, USDCost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 100, 1, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 500, 2, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 300, 3, 90&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D, 200, 4, 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; E, 400, 5, 60&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOCONCATENATE&lt;/STRONG&gt; LOAD ID, USDSales, USDMargin, USDCost &lt;/P&gt;&lt;P&gt;RESIDENT Sales01;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Sales01;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small active_link" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: For your perusal, this is documented in the Reference Manual Book I, Section 23.7 "Automatic Concatenation"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2011 17:36:00 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-09-29T17:36:00Z</dc:date>
    <item>
      <title>What am I doing wrong in this resident load - drop table?</title>
      <link>https://community.qlik.com/t5/QlikView/What-am-I-doing-wrong-in-this-resident-load-drop-table/m-p/301918#M111737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just testing a simple Resident load of a table called 'Sales01', then I want to load it into a table called 'Sales'.&lt;/P&gt;&lt;P&gt;After it has been loaded into 'Sales', I'd like to drop 'Sales01', but it seems to be dropping both tables in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the sample qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas as to why this isn't working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 17:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-am-I-doing-wrong-in-this-resident-load-drop-table/m-p/301918#M111737</guid>
      <dc:creator />
      <dc:date>2011-09-29T17:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: What am I doing wrong in this resident load - drop table?</title>
      <link>https://community.qlik.com/t5/QlikView/What-am-I-doing-wrong-in-this-resident-load-drop-table/m-p/301919#M111738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When two tables anywhere in the script share the same number of fields and all fields are named alike, the second one is concatenated implicitly to the previous one, resulting in one bigger table. And that's exactly what it's happening to you. So when you DROP the first table you are dropping actually both LOADs, because they are concatenated. Just using NOCONCATENATE keyword in the second LOAD will avoid this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sales01:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, USDSales, USDMargin, USDCost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 100, 1, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 500, 2, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 300, 3, 90&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D, 200, 4, 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; E, 400, 5, 60&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOCONCATENATE&lt;/STRONG&gt; LOAD ID, USDSales, USDMargin, USDCost &lt;/P&gt;&lt;P&gt;RESIDENT Sales01;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Sales01;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small active_link" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: For your perusal, this is documented in the Reference Manual Book I, Section 23.7 "Automatic Concatenation"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 17:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-am-I-doing-wrong-in-this-resident-load-drop-table/m-p/301919#M111738</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-09-29T17:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: What am I doing wrong in this resident load - drop table?</title>
      <link>https://community.qlik.com/t5/QlikView/What-am-I-doing-wrong-in-this-resident-load-drop-table/m-p/301920#M111739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 17:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-am-I-doing-wrong-in-this-resident-load-drop-table/m-p/301920#M111739</guid>
      <dc:creator />
      <dc:date>2011-09-29T17:48:40Z</dc:date>
    </item>
  </channel>
</rss>

