<?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: Connections to different databases? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315984#M408595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something seems to not be right - I now have both SQL_SELECTs (from two different databases) on one sheet - but both have the same structure, so the LOAD statement is the same - when I load from the second database, the plant_key is that of the first one, so I'm not sure that works as expected ... when I deactivate the first half of the code and load only the table from the second database, it is correct.&lt;/P&gt;&lt;P&gt;Is there some statement I can use to close the connection after use so there can be no "misunderstanding"?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2017 06:46:13 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2017-07-10T06:46:13Z</dc:date>
    <item>
      <title>Connections to different databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315979#M408590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have a rather big app to fetch from the database all the packing_plans which were valid for any given month in the past.&lt;/P&gt;&lt;P&gt;The issue is, we have two different database systems - one for this plant here and one for the other plant. There is an ODBC connection in every one of those apps. So I need three apps: One to get the data from this system, one to get the data from the other system and one to combine the two into one monthly file.&lt;/P&gt;&lt;P&gt;Is there any possibility to do all that in one app? That would be much more practical.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 12:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315979#M408590</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-07-03T12:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Connections to different databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315980#M408591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No problem. In the script, you need to establish a link with each of your databases and load data from them into QlikView, taking into account the correct organization of the data structure and field names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 12:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315980#M408591</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-07-03T12:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Connections to different databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315981#M408592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in every one of the apps I have an ODBC connect_string - so I could just take the first app and copy the connect_string from the second app in on a sheet when all is done for one database and all tables have been stored away and deleted?&lt;/P&gt;&lt;P&gt;That would make the whole thing much more manageable.&lt;/P&gt;&lt;P&gt;I'll try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 12:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315981#M408592</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-07-03T12:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Connections to different databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315982#M408593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes exactly. In one application in the script, I generally wrote the first two lines of the connection code to two different databases and then unloaded the necessary data from them in an arbitrary order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 13:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315982#M408593</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-07-03T13:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Connections to different databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315983#M408594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I would probably connect to the second database only after everything on the data from the first one is done to avoid a timeout - the script contains some loops and runs for quite a while ...&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 13:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315983#M408594</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-07-03T13:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Connections to different databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315984#M408595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something seems to not be right - I now have both SQL_SELECTs (from two different databases) on one sheet - but both have the same structure, so the LOAD statement is the same - when I load from the second database, the plant_key is that of the first one, so I'm not sure that works as expected ... when I deactivate the first half of the code and load only the table from the second database, it is correct.&lt;/P&gt;&lt;P&gt;Is there some statement I can use to close the connection after use so there can be no "misunderstanding"?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 06:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connections-to-different-databases/m-p/1315984#M408595</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2017-07-10T06:46:13Z</dc:date>
    </item>
  </channel>
</rss>

