<?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: LOAD all fields from RESIDENT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2006892#M1221568</link>
    <description>&lt;P&gt;An alternatively to your approach might be the ALIAS feature which moved the rename-logic before the load.&lt;/P&gt;
&lt;P&gt;Beside this method and other ways of renaming - with/without noconcatenate, qualifying, map using ... - none would list the fields. To get this you could use the load-wizard on the origin load - or sometimes better the first load was stored within a qvd and now you are loading per wizard from the qvd.&lt;/P&gt;
&lt;P&gt;Personally, I wouldn't do this else doing it in beforehand - a resident-load which is just renaming a field is IMO superfluous ...&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2022 09:18:39 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2022-11-21T09:18:39Z</dc:date>
    <item>
      <title>LOAD all fields from RESIDENT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2004899#M1221506</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;This will most likely be a very easy newbie question, but I haven't been able to successfully Google it.&lt;/P&gt;
&lt;P&gt;In this example, I want to load the whole [EXT_Person] table as [Person], but I also need to rename the [Id] field. This example solves the code problem:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Person:
LOAD
	Id AS %Person_Id,
    *
RESIDENT EXT_Person;

DROP FIELD Id;
DROP TABLE EXT_Person;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I would like to load the fields like this, i.e. listing all the fields one by one:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Person:
LOAD
	Id AS %Person_Id,
    FirstName,
    LastName,
    ... etcetera ...
RESIDENT EXT_Person;

DROP TABLE EXT_Person;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is this: In the Qlik Sense Enterprise user interface, is there a way to do this load without having to type in all the field names manually? In my example I only need to rename one field, but having to rename multiple fields and then dropping them one by one is not pretty.&lt;/P&gt;
&lt;P&gt;One slightly less cumbersome (but still rather clumsy) way to achieve this woud be to load the table from the Connection dialog once more (which would give me a full SQL SELECT and LOAD script) and then remove the SQL SELECT part. Note that the %Person_Id field is a key (it won't be unique), which (if I understand correctly) rules out the RENAME function.&lt;/P&gt;
&lt;P&gt;I wish you all a great day!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 17:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2004899#M1221506</guid>
      <dc:creator>sir_ogrim</dc:creator>
      <dc:date>2022-11-15T17:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD all fields from RESIDENT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2004918#M1221507</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can try for Qualify and Unqualify.&lt;/P&gt;
&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate"&gt;qualify *;&lt;/P&gt;
&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate"&gt;unqualify Id;&lt;/P&gt;
&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate"&gt;load *,&lt;/P&gt;
&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate"&gt;id as %Person_Id&lt;/P&gt;
&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate"&gt;resident tablename;&lt;/P&gt;
&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate"&gt;&lt;A href="https://help.qlik.com/en-US/sense/August2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Qualify.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/August2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Qualify.htm&lt;/A&gt;&lt;/P&gt;
&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate"&gt;Hope it helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 18:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2004918#M1221507</guid>
      <dc:creator>Prashant_Naik</dc:creator>
      <dc:date>2022-11-15T18:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD all fields from RESIDENT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2006844#M1221566</link>
      <description>&lt;P&gt;Hi! I'm afraid that doesn't solve the problem, since it requres unqualifying of each field to rename rather than dropping. What I'm looking for here is something like right-clicking on a table in SQL Server Management Studio and choosing "Select Top 1000 Rows" to get a script that I can easily modify. Something like "press CTRL-something to list all fields of a table". In other words, it's more of a GUI than a scripting question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for you response!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 07:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2006844#M1221566</guid>
      <dc:creator>sir_ogrim</dc:creator>
      <dc:date>2022-11-21T07:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD all fields from RESIDENT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2006892#M1221568</link>
      <description>&lt;P&gt;An alternatively to your approach might be the ALIAS feature which moved the rename-logic before the load.&lt;/P&gt;
&lt;P&gt;Beside this method and other ways of renaming - with/without noconcatenate, qualifying, map using ... - none would list the fields. To get this you could use the load-wizard on the origin load - or sometimes better the first load was stored within a qvd and now you are loading per wizard from the qvd.&lt;/P&gt;
&lt;P&gt;Personally, I wouldn't do this else doing it in beforehand - a resident-load which is just renaming a field is IMO superfluous ...&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 09:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2006892#M1221568</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-11-21T09:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD all fields from RESIDENT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2006899#M1221569</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Ah, I many have been a bit unclear in my description of the problem. I do intend to transform some of the data, and rename some fields. All the loading has been done previously by looping through a bunch of tables and saving them as QVD.&lt;/P&gt;
&lt;P&gt;But the Alias method will be quite useful. Tank you!&lt;/P&gt;
&lt;P&gt;HOWEVER... I was not aware I could use the wizard to load a QVD. Don't ask me how I managed to overlook this... That perfectly solves my problem.&lt;/P&gt;
&lt;P&gt;So... You solved this noob's problem and managed to teach him a bit more besides that.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 09:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-all-fields-from-RESIDENT/m-p/2006899#M1221569</guid>
      <dc:creator>sir_ogrim</dc:creator>
      <dc:date>2022-11-21T09:33:06Z</dc:date>
    </item>
  </channel>
</rss>

