<?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 How can I Join Two SQL loads? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144363#M23310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, I'd agree with Ralph - you are probably better off joinging the data on the database.&lt;/P&gt;&lt;P&gt;Second, I'm afraid one of the two happened - either you don't have an identical key field in both tables, or on the contrary, you have more than one identical field, and QlikView is creating a synthetic key. To verify it, run "limited load" under a debugger and examine your table structure.&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2009 19:46:47 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2009-05-18T19:46:47Z</dc:date>
    <item>
      <title>How can I Join Two SQL loads?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144359#M23306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QV users,&lt;/P&gt;&lt;P&gt;I have two SQL'S and I want to join them. One is Labor and other is Material. When I debug it the system gives no failure. But when I do a Total RELOAD the system does not respond anymore After it reloaded the data. I have created the following script. Could someone help me with this issue.&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;(Labor)&lt;/P&gt;&lt;P&gt;SQL select *&lt;/P&gt;&lt;P&gt;from ....&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;(Temp.Material)&lt;/P&gt;&lt;P&gt;SQL select&lt;/P&gt;&lt;P&gt;JOB_Number,&lt;/P&gt;&lt;P&gt;EXTENDED_TOTAL&lt;/P&gt;&lt;P&gt;From......&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Material)&lt;/P&gt;&lt;P&gt;Join (Labor) Load&lt;/P&gt;&lt;P&gt;JOB_Number,&lt;/P&gt;&lt;P&gt;EXTENDED_TOTAL&lt;/P&gt;&lt;P&gt;Resident Temp.Material;&lt;/P&gt;&lt;P&gt;Drop table Temp.Material;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aissam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 16:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144359#M23306</guid>
      <dc:creator />
      <dc:date>2009-05-18T16:10:05Z</dc:date>
    </item>
    <item>
      <title>How can I Join Two SQL loads?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144360#M23307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aissam,&lt;/P&gt;&lt;P&gt;I would join the tables like this:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Labor:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM LABOR;&lt;BR /&gt;LEFT Join (Labor)&lt;BR /&gt;LOAD&lt;BR /&gt; JOB_Number,&lt;BR /&gt; EXTENDED_TOTAL;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM MATERIAL;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Make Sure JOB_Number exists in the Labor table. Good luck!&lt;/P&gt;&lt;P&gt;regards Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 16:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144360#M23307</guid>
      <dc:creator />
      <dc:date>2009-05-18T16:41:13Z</dc:date>
    </item>
    <item>
      <title>How can I Join Two SQL loads?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144361#M23308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;u can use left join or concatenate for joining tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 17:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144361#M23308</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2009-05-18T17:07:12Z</dc:date>
    </item>
    <item>
      <title>How can I Join Two SQL loads?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144362#M23309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aissam,&lt;/P&gt;&lt;P&gt;why not joining the tables on database level in the SELECT statement itself?&lt;/P&gt;&lt;P&gt;Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 19:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144362#M23309</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-05-18T19:38:43Z</dc:date>
    </item>
    <item>
      <title>How can I Join Two SQL loads?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144363#M23310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, I'd agree with Ralph - you are probably better off joinging the data on the database.&lt;/P&gt;&lt;P&gt;Second, I'm afraid one of the two happened - either you don't have an identical key field in both tables, or on the contrary, you have more than one identical field, and QlikView is creating a synthetic key. To verify it, run "limited load" under a debugger and examine your table structure.&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 19:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144363#M23310</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-05-18T19:46:47Z</dc:date>
    </item>
    <item>
      <title>How can I Join Two SQL loads?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144364#M23311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Thanks for your respond. I have used the debugger and there are no identical fields besides JOB_NUMBER. Could it be possible that I have created to much data.&lt;/P&gt;&lt;P&gt;Joining the tables on database level is not possible due to ........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aissam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 20:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144364#M23311</guid>
      <dc:creator />
      <dc:date>2009-05-18T20:51:08Z</dc:date>
    </item>
    <item>
      <title>How can I Join Two SQL loads?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144365#M23312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you dump a sample of your raw data (the output from the sql queries into text files and attach them. Aslo include your attempted load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 00:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144365#M23312</guid>
      <dc:creator />
      <dc:date>2009-05-21T00:52:30Z</dc:date>
    </item>
    <item>
      <title>How can I Join Two SQL loads?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144366#M23313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Problem solved. We had a date range but this did not work at first, so the system loaded all the data, so that made QV go into cardiac arrest &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt; &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;.&lt;/P&gt;&lt;P&gt;Regards and thanks for the tips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aissam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2009 14:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-Join-Two-SQL-loads/m-p/144366#M23313</guid>
      <dc:creator />
      <dc:date>2009-05-23T14:54:42Z</dc:date>
    </item>
  </channel>
</rss>

