<?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 Smart  Loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241572#M91978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sander,&lt;/P&gt;&lt;P&gt;Not yet ... as I want to keep the contents of b ... both from the SQL and the new load.&lt;/P&gt;&lt;P&gt;Simple use case:&lt;/P&gt;&lt;P&gt;TabA: Load 1 as Version, Value1, Value2 from SQL&lt;/P&gt;&lt;P&gt;concat. TabA: Load 2 as Version, Value1, Value2 resident TabA&lt;/P&gt;&lt;P&gt;(i.e. I copy the value data to a new version.)&lt;/P&gt;&lt;P&gt;Typically there is a lot of transformation code between the two statements, i.e. it is not as simple as reloading the SQL &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Aug 2010 16:14:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-04T16:14:43Z</dc:date>
    <item>
      <title>Smart  Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241570#M91976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am loading data frequently from an existing table (resident) to add it slightly modified to the same table.&lt;BR /&gt;Typically I want to change exactly 1 field.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;TabA:&lt;BR /&gt;LOAD&lt;BR /&gt;a,&lt;BR /&gt;b,&lt;BR /&gt;c&lt;BR /&gt;from SQL ....;&lt;/P&gt;&lt;P&gt;concatenate (TabA)&lt;BR /&gt;LOAD&lt;BR /&gt;a,&lt;BR /&gt;'Copy' as b,&lt;BR /&gt;c&lt;BR /&gt;resident TabA;&lt;/P&gt;&lt;P&gt;For a small number of fields this is fine, but for lots of fields, the script gets difficult to read.&lt;BR /&gt;There must be a smarter way .... ? (I really just want to change 1 field out of e.g. 30.)&lt;/P&gt;&lt;P&gt;This&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;'Copy' as b&lt;BR /&gt;resident TabA;&lt;/P&gt;&lt;P&gt;does not work, as field b would be twice in the load statement.&lt;/P&gt;&lt;P&gt;Any idea?&lt;BR /&gt;Thank you,&lt;BR /&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 16:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241570#M91976</guid>
      <dc:creator />
      <dc:date>2010-08-04T16:00:39Z</dc:date>
    </item>
    <item>
      <title>Smart  Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241571#M91977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Thilo wrote:&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;'Copy' as b&lt;BR /&gt;resident TabA;&lt;BR /&gt;does not work, as field b would be twice in the load statement.&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;TabA:&lt;BR /&gt;LOAD&lt;BR /&gt;a,&lt;BR /&gt;b,&lt;BR /&gt;c&lt;BR /&gt;from SQL ....;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;DROP FIELD b;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;'Copy' as b&lt;BR /&gt;resident TabA;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 16:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241571#M91977</guid>
      <dc:creator />
      <dc:date>2010-08-04T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Smart  Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241572#M91978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sander,&lt;/P&gt;&lt;P&gt;Not yet ... as I want to keep the contents of b ... both from the SQL and the new load.&lt;/P&gt;&lt;P&gt;Simple use case:&lt;/P&gt;&lt;P&gt;TabA: Load 1 as Version, Value1, Value2 from SQL&lt;/P&gt;&lt;P&gt;concat. TabA: Load 2 as Version, Value1, Value2 resident TabA&lt;/P&gt;&lt;P&gt;(i.e. I copy the value data to a new version.)&lt;/P&gt;&lt;P&gt;Typically there is a lot of transformation code between the two statements, i.e. it is not as simple as reloading the SQL &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 16:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241572#M91978</guid>
      <dc:creator />
      <dc:date>2010-08-04T16:14:43Z</dc:date>
    </item>
    <item>
      <title>Smart  Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241573#M91979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TabA:&lt;BR /&gt;LOAD&lt;BR /&gt;a,&lt;BR /&gt;b,&lt;BR /&gt;c&lt;BR /&gt;from SQL ....;&lt;/P&gt;&lt;P&gt;TabTemp:&lt;BR /&gt;LOAD&lt;BR /&gt;*&lt;BR /&gt;resident TabA;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;DROP FIELD b FROM TabTemp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (TabA)&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;BR /&gt;'Copy' as b&lt;BR /&gt;resident TabTemp;&lt;/P&gt;&lt;P&gt;DROP TABLE TabTemp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This should work but isn't good for the performance of your loadscript!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 16:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241573#M91979</guid>
      <dc:creator />
      <dc:date>2010-08-04T16:29:26Z</dc:date>
    </item>
    <item>
      <title>Smart  Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241574#M91980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yep - this would work ... and you're right, the performance will suffer.&lt;/P&gt;&lt;P&gt;Well, there is always a trade-off ... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 18:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smart-Loading/m-p/241574#M91980</guid>
      <dc:creator />
      <dc:date>2010-08-04T18:02:23Z</dc:date>
    </item>
  </channel>
</rss>

