<?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 Combine data from 2 databases in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208911#M715442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Must i close this question on this forum?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Sep 2010 10:16:50 GMT</pubDate>
    <dc:creator>francisvandergr</dc:creator>
    <dc:date>2010-09-20T10:16:50Z</dc:date>
    <item>
      <title>Combine data from 2 databases</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208906#M715435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question. I have 2 databases with 3 important tables. The tables in the different databases have the same fields. Example:&lt;/P&gt;&lt;P&gt;Database 1: Table GRBK Fields: Number,Year,Period,Amount&lt;/P&gt;&lt;P&gt;Database 2 Table GRBK Fields: Number,Year,Period,Amount&lt;/P&gt;&lt;P&gt;It is possible that both databases have the same data :&lt;/P&gt;&lt;P&gt;Database 1: Table GRBK 2000,2010,9,100&lt;/P&gt;&lt;P&gt;Database 2: Table GRBK 2000,2010,9,100&lt;/P&gt;&lt;P&gt;In Qlikview i need both records. Anybody knows how to combine both records ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 09:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208906#M715435</guid>
      <dc:creator>francisvandergr</dc:creator>
      <dc:date>2010-09-20T09:00:31Z</dc:date>
    </item>
    <item>
      <title>Combine data from 2 databases</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208907#M715437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Francis and welcome to the Forums,&lt;/P&gt;&lt;P&gt;Do something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD *; SQL SELECT * FROM Database1; &lt;STRONG&gt;CONCATENATE&lt;/STRONG&gt; LOAD *; SQL SELECT * FROM Database2;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Concatenate keyword is not needed when both tables have the same number of fields and fields are named alike. Anyway, I set it here should you have some differences between both tables.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 09:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208907#M715437</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-20T09:08:40Z</dc:date>
    </item>
    <item>
      <title>Combine data from 2 databases</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208908#M715439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You could do something along these lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;DATATABLE:&lt;BR /&gt;SQL SELECT Number,&lt;BR /&gt; Year,&lt;BR /&gt; Period,&lt;BR /&gt; Amount,&lt;BR /&gt; 'Database1' AS Source&lt;BR /&gt;FROM Database1.GRBK;&lt;BR /&gt;&lt;BR /&gt;CONCATENATE&lt;BR /&gt;SQL SELECT Number,&lt;BR /&gt; Year,&lt;BR /&gt; Period,&lt;BR /&gt; Amount,&lt;BR /&gt; 'Database2' AS Source&lt;BR /&gt;FROM Database2.GRBK;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 09:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208908#M715439</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-09-20T09:08:53Z</dc:date>
    </item>
    <item>
      <title>Combine data from 2 databases</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208909#M715440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like the following&lt;/P&gt;&lt;P&gt;CONNECTION STRING&lt;/P&gt;&lt;P&gt;Select&lt;/P&gt;&lt;P&gt;Orders_no,&lt;BR /&gt;Order_date,&lt;BR /&gt;Number,&lt;BR /&gt;Year,&lt;BR /&gt;Amount,&lt;BR /&gt;Period,&lt;BR /&gt;'DB1' as MyDatabase,&lt;BR /&gt;etc&lt;BR /&gt;From db1.scheme.orders_table;&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;CONNECTION STRING&lt;/P&gt;&lt;P&gt;Select&lt;/P&gt;&lt;P&gt;Orders_no,&lt;BR /&gt;Order_date,&lt;BR /&gt;Number,&lt;BR /&gt;Year,&lt;BR /&gt;Amount,&lt;BR /&gt;Period,&lt;BR /&gt;'DB2' as MyDatabase,&lt;BR /&gt;etc&lt;BR /&gt;From db2.scheme.orders_table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 09:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208909#M715440</guid>
      <dc:creator />
      <dc:date>2010-09-20T09:09:23Z</dc:date>
    </item>
    <item>
      <title>Combine data from 2 databases</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208910#M715441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx to all. Jonathan i use your script. And of course it works. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 10:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208910#M715441</guid>
      <dc:creator>francisvandergr</dc:creator>
      <dc:date>2010-09-20T10:09:36Z</dc:date>
    </item>
    <item>
      <title>Combine data from 2 databases</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208911#M715442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Must i close this question on this forum?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 10:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208911#M715442</guid>
      <dc:creator>francisvandergr</dc:creator>
      <dc:date>2010-09-20T10:16:50Z</dc:date>
    </item>
    <item>
      <title>Combine data from 2 databases</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208912#M715443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd recommed you to do that, so any other user looking for something similar will find the question as solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 10:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-data-from-2-databases/m-p/208912#M715443</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-20T10:41:29Z</dc:date>
    </item>
  </channel>
</rss>

