<?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: Does the RENAME command apply to all tables? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432372#M430697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Thing is, there are some Little Details and tricks which are not in the HELP file, for example the possibility of passing a Parameter of "-1" to the FINDONEOF function. That's why I asked.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2017 09:33:22 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2017-09-18T09:33:22Z</dc:date>
    <item>
      <title>Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432365#M430690</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;one question rgd. the RENAME FIELD command: Does that, like the DROP FIELD command, apply to all tables unless some tablename is specified? If yes, how do I do so? I want to rename one field, but only in the one table I just loaded.&lt;/P&gt;&lt;P&gt;´Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432365#M430690</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-09-18T09:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432366#M430691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have the same field name in two tables, QlikView will treat it as the same field (which is why you shouldn't count() on it, for example, and Show Frequency is disabled for it as a key).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using QUALIFY, you can use the fully-qualified name:&lt;/P&gt;&lt;P&gt;QUALIFY *;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C1, C2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C1, C3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename Field Table1.C1 to Table1.C4;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432366#M430691</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-09-18T09:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432367#M430692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It just renames those which are already loaded. Therefore, you may rename a loaded field before another gets loaded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432367#M430692</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-09-18T09:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432368#M430693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This depends on where you have written the RENAME statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg. If you have written the RENAME statement after loading all the tables, it will perform renaming of the field in all the table.If you have written the RENAME statement after particular LOAD then it will perform renaming for that particular load (Table). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way if you just want to rename the field in one table then you can simply rename it using 'as' alias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432368#M430693</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-18T09:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432369#M430694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For questions likes this, I suggest looking into the HELP pages:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptRegularStatements/rename-field.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptRegularStatements/rename-field.htm"&gt;Rename field ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The RENAME statement does not allow a ...FROM TABLENAME like the DROP statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it applies to all tables where the field is part of (because it changes only the meta data of that single symbol table).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432369#M430694</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-18T09:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432370#M430695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kushal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is where I was actually "aiming" my question: So QlikView does rename that field in every table already loaded where the fieldname is the same and I Need to use a QUALIFY Statement to avoid it.&lt;/P&gt;&lt;P&gt;That's too bad. I had an alias, but just for that one field. That made the LOAD unoptimized and I thought I could make it optimized by RENAMing the field lateron - but if I have to qualify the table to do that, I will Need an alias for every field in a RESIDENT - the fields have to be concatenated to an existing table. I'm afraid that won't make things better &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432370#M430695</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-09-18T09:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432371#M430696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Datanibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a simple alias of the field should not un-optimize the QVD LOAD.&lt;/P&gt;&lt;P&gt;Are you sure that's the only transformation you are doing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432371#M430696</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-18T09:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432372#M430697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Thing is, there are some Little Details and tricks which are not in the HELP file, for example the possibility of passing a Parameter of "-1" to the FINDONEOF function. That's why I asked.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432372#M430697</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-09-18T09:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432373#M430698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, I'm quite sure that&lt;/P&gt;&lt;P&gt;a) there is no other Transformation being done in this step AND&lt;/P&gt;&lt;P&gt;b) that the LOAD, such as it was, was not optimized (it would be in the Debugging_window if it was)&lt;/P&gt;&lt;P&gt;It is strange, yes - currently, that LOAD fetches only 22k records, so it's not really worthwhile, but it might grow, I cannot tell because I don't yet know where that qvd is coming from.&lt;/P&gt;&lt;P&gt;The LOAD is/was like this:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Concatenate (Fehlerdaten)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Fehlercode&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BUKR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%Stamm_BUKR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Fehlercount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vQVDPfadLesen)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;QS_Stammdaten_Fehler.qvd&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I have no idea - this time there was no preceding LOAD.&amp;nbsp; Can you think of another possible reason?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The strange Thing is: I changed this aroundn - first making it a separate LOAD and then concatenating in a RESIDENT - and I dropped the RENAME Statement again and it still resulted in an optimized LOAD &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 10:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432373#M430698</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-09-18T10:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432374#M430699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the resident table 'Fehlerdaten' you are concatenating to show the same number and names of fields (i.e. Fehlercode, Type, %Stamm_BUKR, Fehlercount, Timestamp)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, then I believe you are losing the optimized LOAD not because of the alias, but due to concatenation with different structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 11:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432374#M430699</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-18T11:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Does the RENAME command apply to all tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432375#M430700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That might be it.&lt;/P&gt;&lt;P&gt;I haven't checked that in Detail, but it's probable that the table to concatenate to has a different nr. of fields. That also explains why the LOAD is optimized as soon as I separate it - in spite of the alias, as it should be ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 11:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-the-RENAME-command-apply-to-all-tables/m-p/1432375#M430700</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-09-18T11:30:25Z</dc:date>
    </item>
  </channel>
</rss>

