<?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 LOAD &amp; SQL SELECT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-SQL-SELECT/m-p/193104#M54511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the command "qualify".&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;qualify b;&lt;/P&gt;&lt;P&gt;load a,b from xxx.txt&lt;/P&gt;&lt;P&gt;the result of this script will give two fields:&lt;/P&gt;&lt;P&gt;xxx.b and a.&lt;/P&gt;&lt;P&gt;qualify * will Influence on all the fields in the script.&lt;/P&gt;&lt;P&gt;To change back use the command "unqualify".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Nov 2010 15:37:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-18T15:37:25Z</dc:date>
    <item>
      <title>LOAD &amp; SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-SQL-SELECT/m-p/193103#M54510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When loading data from a SQL database i usually do it by the following 2 methods...using LOAD and typing each field name as what you want it to rename it to or just by using * and loading everything. How can i load all the fields in the table but automatically append the table name to the field name without having to type each 100 fields using the LOAD method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load it as &lt;I&gt;*.tablename&lt;/I&gt; if that makes sense&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;LOAD&lt;BR /&gt; field1 as field1_table,&lt;/P&gt;&lt;P style="font-style: italic"&gt;field2 as field2_table,&lt;/P&gt;&lt;P style="font-style: italic"&gt;field3 as field3_table;&lt;/P&gt;&lt;P style="font-style: italic"&gt;SQL SELECT *&lt;BR /&gt;FROM database.table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-style: italic"&gt;FROM database.table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 15:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-SQL-SELECT/m-p/193103#M54510</guid>
      <dc:creator />
      <dc:date>2010-11-18T15:26:38Z</dc:date>
    </item>
    <item>
      <title>LOAD &amp; SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-SQL-SELECT/m-p/193104#M54511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the command "qualify".&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;qualify b;&lt;/P&gt;&lt;P&gt;load a,b from xxx.txt&lt;/P&gt;&lt;P&gt;the result of this script will give two fields:&lt;/P&gt;&lt;P&gt;xxx.b and a.&lt;/P&gt;&lt;P&gt;qualify * will Influence on all the fields in the script.&lt;/P&gt;&lt;P&gt;To change back use the command "unqualify".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 15:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-SQL-SELECT/m-p/193104#M54511</guid>
      <dc:creator />
      <dc:date>2010-11-18T15:37:25Z</dc:date>
    </item>
    <item>
      <title>LOAD &amp; SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-SQL-SELECT/m-p/193105#M54512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's correct, but going a step further, your script may look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Qualify *; Unqualify Key; // I want to keep the key field so associate tables Table:LOAD Field1, // This will be loaded as Table.Field1 Key; // This will be loaded as keySQL SELECT Field1, KeyFROM database.table; Unqualify *; // Leave fieldnames as they are, without being prefixed&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Note that doing this you will keep your data unlinked, so if you want to keep some relations you may have to do it manually.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 16:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-SQL-SELECT/m-p/193105#M54512</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-18T16:32:32Z</dc:date>
    </item>
  </channel>
</rss>

