<?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 multiple data bases and Include scripts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connections-to-multiple-data-bases-and-Include-scripts/m-p/1405792#M804447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i get you correctly and i assume you already have the connection strings in your text files. &lt;/P&gt;&lt;P&gt;This is what i did. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Con1.txt&lt;/P&gt;&lt;P&gt;Con2.txt&lt;/P&gt;&lt;P&gt;Con3.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are my three different data source connections files which has my connection strings. So in QV script i did this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET v1ConnectionPath = '$(Must_Include=\\servername\Qlikview\Reports\Scripts\Con1.txt)';&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LET v2ConnectionPath = '$(Must_Include=\\servername\Qlikview\Reports\Scripts\Con2.txt)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LET v3ConnectionPath = '$(Must_Include=\\servername\Qlikview\Reports\Scripts\Con3.txt)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Then using these variables i called where ever i required. Like &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$(v1ConnectionPath);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My load script here. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$(v2ConnectionPath);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My 2nd Load script here. .....etc. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this helps. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2017 02:20:36 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-11-03T02:20:36Z</dc:date>
    <item>
      <title>Connections to multiple data bases and Include scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Connections-to-multiple-data-bases-and-Include-scripts/m-p/1405791#M804446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please let me know how to connect to multiple data bases in Qlikview . Will it work and please share the connections for syntax for connections and storing these connections externally in include scripts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting response as soon as possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connections-to-multiple-data-bases-and-Include-scripts/m-p/1405791#M804446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connections to multiple data bases and Include scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Connections-to-multiple-data-bases-and-Include-scripts/m-p/1405792#M804447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i get you correctly and i assume you already have the connection strings in your text files. &lt;/P&gt;&lt;P&gt;This is what i did. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Con1.txt&lt;/P&gt;&lt;P&gt;Con2.txt&lt;/P&gt;&lt;P&gt;Con3.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are my three different data source connections files which has my connection strings. So in QV script i did this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET v1ConnectionPath = '$(Must_Include=\\servername\Qlikview\Reports\Scripts\Con1.txt)';&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LET v2ConnectionPath = '$(Must_Include=\\servername\Qlikview\Reports\Scripts\Con2.txt)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LET v3ConnectionPath = '$(Must_Include=\\servername\Qlikview\Reports\Scripts\Con3.txt)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Then using these variables i called where ever i required. Like &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$(v1ConnectionPath);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My load script here. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$(v2ConnectionPath);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My 2nd Load script here. .....etc. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this helps. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 02:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connections-to-multiple-data-bases-and-Include-scripts/m-p/1405792#M804447</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-11-03T02:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Connections to multiple data bases and Include scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Connections-to-multiple-data-bases-and-Include-scripts/m-p/1405793#M804448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwanath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your message .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;SPAN style="font-size: 10pt;"&gt;Can the connection strings be stored as it is in the text files. I.e. as it is generated in the qlikview script editor when we try to make the connection to the particular data base. No special syntax required in text file correct? just the string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. If we connect to multiple data bases will Qlikview function properly allowing fields from tables from both data bases or would there be any problem of loss of connection or (dealing with one database) at a time? As I might have 4 to 5 different data sources.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 05:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connections-to-multiple-data-bases-and-Include-scripts/m-p/1405793#M804448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T05:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connections to multiple data bases and Include scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Connections-to-multiple-data-bases-and-Include-scripts/m-p/1405794#M804449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1. &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Can the connection strings be stored as it is in the text files. I.e. as it is generated in the qlikview script editor when we try to make the connection to the particular data base. No special syntax required in text file correct? just the string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #ff0000;"&gt;Just use the connection string as when you add to Qlikview script. It would work fine. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;2. If we connect to multiple data bases will Qlikview function properly allowing fields from tables from both data bases or would there be any problem of loss of connection or (dealing with one database) at a time? As I might have 4 to 5 different data sources.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;SPAN style="color: #ff0000;"&gt;I too have data coming from 4 different sources so i use these variable where ever necessary to pull data from different db's it does not effect other db connections. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 14:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connections-to-multiple-data-bases-and-Include-scripts/m-p/1405794#M804449</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-11-03T14:30:29Z</dc:date>
    </item>
  </channel>
</rss>

