<?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: connect to multiple databases in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348593#M129145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;I am exploring some of the projects an external consultant did for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like he used one conncetion string and then he used the union to concat the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is connection sting he used and apparently he used this stringto connect at least 3 DBs in his project.&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO DBDEV (XUserId is bIZFMaFNfadKGRJOXLJA, XPassword is CfUWMYBIEBJOHYIOELdA);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to run the qvw because the DB credential had been changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am guessing it is possible...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2012 16:55:39 GMT</pubDate>
    <dc:creator>alexpanjhc</dc:creator>
    <dc:date>2012-07-12T16:55:39Z</dc:date>
    <item>
      <title>connect to multiple databases</title>
      <link>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348591#M129143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am going to connect to the 5 different DBs (4 are SQL servers, 1 is Access) using QV11.&lt;/P&gt;&lt;P&gt;Right now I am only testing if it is working so what I did is to have 2 connection strings for 2 Databases in the main tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=SQLOLEDB.1;Persist Security Info=True;User ID=AAA;Initial Catalog=ASI;Data Source=ABCD;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=XXX;Use Encryption for Data=False;Tag with column collation when possible=False] (XPassword is eGJGBSECSZMeM);&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=SQLOLEDB.1;Persist Security Info=True;User ID=BBB;Initial Catalog=ASMW;Data Source=EFGH;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=XXX;Use Encryption for Data=False;Tag with column collation when possible=False] (XPassword is JTLFKSECSZXGH);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then a new tab&lt;/P&gt;&lt;P&gt;test:&lt;/P&gt;&lt;P&gt;load *;&lt;/P&gt;&lt;P&gt; sql&lt;/P&gt;&lt;P&gt;select A, B, C&lt;/P&gt;&lt;P&gt;from table X ----&amp;gt; this belongs to Database ABCD&lt;/P&gt;&lt;P&gt;union select D, E, F&lt;/P&gt;&lt;P&gt;from table Y ----&amp;gt; this belongs to Database EFGH;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store test into test.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, it would not create the table. The connection is fine for individual table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way that I can use one(or more) connection string(s) and just use union to get my table without using concatenate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 16:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348591#M129143</guid>
      <dc:creator>alexpanjhc</dc:creator>
      <dc:date>2012-07-12T16:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: connect to multiple databases</title>
      <link>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348592#M129144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since SQL part is executed with in SQL console its not possible to concat tables with results produced in two consoles. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but however you can use;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;Load *;SQL select A,B,C from table X;&lt;/P&gt;&lt;P&gt;Load *;SQL select D,E,F from table Y;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 16:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348592#M129144</guid>
      <dc:creator />
      <dc:date>2012-07-12T16:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: connect to multiple databases</title>
      <link>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348593#M129145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;I am exploring some of the projects an external consultant did for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like he used one conncetion string and then he used the union to concat the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is connection sting he used and apparently he used this stringto connect at least 3 DBs in his project.&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO DBDEV (XUserId is bIZFMaFNfadKGRJOXLJA, XPassword is CfUWMYBIEBJOHYIOELdA);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to run the qvw because the DB credential had been changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am guessing it is possible...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 16:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348593#M129145</guid>
      <dc:creator>alexpanjhc</dc:creator>
      <dc:date>2012-07-12T16:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: connect to multiple databases</title>
      <link>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348594#M129146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a difference between database and server instance. Let me take sql server as example, you can connect to one server which has mutliple databases. Then the union statement will work as the statement runs on a single console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Multiple connection strings implies multiple servers (not necessarily but generally done as a practise), hence running on a different db console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 17:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348594#M129146</guid>
      <dc:creator />
      <dc:date>2012-07-12T17:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: connect to multiple databases</title>
      <link>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348595#M129147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;So what you are saying is that if I am to connect to 2 different servers I will have to have 2 strings?( which makes sense to me.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I just asked someone who worked with him before. Looks like he migrated 2 servers into 1.&lt;/P&gt;&lt;P&gt;never mind then... thx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 18:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-to-multiple-databases/m-p/348595#M129147</guid>
      <dc:creator>alexpanjhc</dc:creator>
      <dc:date>2012-07-12T18:01:13Z</dc:date>
    </item>
  </channel>
</rss>

