<?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 Multiple LOAD tables from single SQL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-LOAD-tables-from-single-SQL/m-p/264288#M1205244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create multiple table from a single SQL statement? I Have a need to join the master calendar table to more than one date fields in the same table &amp;amp; I am thinking of loading the same table again and again &amp;amp; join to different date columns.&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jul 2010 12:53:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-07-02T12:53:35Z</dc:date>
    <item>
      <title>Multiple LOAD tables from single SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-LOAD-tables-from-single-SQL/m-p/264288#M1205244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create multiple table from a single SQL statement? I Have a need to join the master calendar table to more than one date fields in the same table &amp;amp; I am thinking of loading the same table again and again &amp;amp; join to different date columns.&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 12:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-LOAD-tables-from-single-SQL/m-p/264288#M1205244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-02T12:53:35Z</dc:date>
    </item>
    <item>
      <title>Multiple LOAD tables from single SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-LOAD-tables-from-single-SQL/m-p/264289#M1205245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dinesh,&lt;/P&gt;&lt;P&gt;Instead of doing several loads, unless specifically necessary, I'd load just once, renaming the date field, using field length for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Table: Field1, Field2, If(Len(DateField1) &amp;gt; 0, DateField1, If(Len(DateField2) &amp;gt; 0, DateField2)) as DateField&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;depending on your data source, of course. Anyway, QlikView concatenates implicitly if all fields are named alike, so you can concatenate under the same table label as many sql/load statements as you want, provided they return always the same number of fields with the same name.&lt;/P&gt;&lt;P&gt;Nevertheless, you can use CONCATENATE keyword before the LOAD to force QlikView concatenate several sql/load statements, but you will have to take care on date field names, as you want all of them to link to the master calendar.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 13:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-LOAD-tables-from-single-SQL/m-p/264289#M1205245</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-07-02T13:13:31Z</dc:date>
    </item>
  </channel>
</rss>

