<?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: SQL Select from several Database in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885692#M657568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but i'm "new" to qlikview, have you got a schema or a quick example ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop in the QWD&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp; XLS "details databases ?"&amp;nbsp;&amp;nbsp; --&amp;gt;&amp;nbsp;&amp;nbsp; QVD&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2015 09:54:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-19T09:54:19Z</dc:date>
    <item>
      <title>SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885683#M657559</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;First sorry for my english..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 5 sql query, whose select many table. But now, i have an other database with the same name table.&lt;/P&gt;&lt;P&gt;I want to know if it's possible (with the qwd script or macro or other way), to give to the user the choice of the database ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FROM of my query i have to put the name of the database before the table name, can i put a variable link to a listbox with "SQL SHOW DATABASE" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any question i'm here, it's important.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cordially.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 08:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885683#M657559</guid>
      <dc:creator />
      <dc:date>2015-05-19T08:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885684#M657560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would put the database name in a field, called say [Source Database] in the table created and then concatenate the data from the two source databases into a single table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field can then be used in the front end dashboard for selection, Set Analysis, Section Access etc.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 08:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885684#M657560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T08:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885685#M657561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your answer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is for now I have 2 bases, but I can get over twenty and they are large (approximately 1Giga), so concatenate all the databases will be too big for the application..&lt;/P&gt;&lt;TABLE class="gt-baf-table" height="25" style="color: rgb(119, 119, 119); font-family: arial, sans-serif; font-size: 13px; width: 93px; height: 0px;"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 08:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885685#M657561</guid>
      <dc:creator />
      <dc:date>2015-05-19T08:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885686#M657562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's not possible tu put a variable in the query in the script, and choose this variable in a .bat whose lunch the application and load the data ? (just an idea ^^ )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 09:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885686#M657562</guid>
      <dc:creator />
      <dc:date>2015-05-19T09:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885687#M657563</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;If you 5 sql queries are similar having same columns then try like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;'1' AS Database&lt;/P&gt;&lt;P&gt;FROM DataBase1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Concatenate(Data)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;'2' AS Database&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;FROM DataBase2;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Concatenate(Data)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;'3' AS Database&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;FROM DataBase3;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Concatenate(Data)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;'4' AS Database&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;FROM DataBase4;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Concatenate(Data)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;SELECT&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;'5' AS Database&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;FROM DataBase5;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 09:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885687#M657563</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-05-19T09:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885688#M657564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks jagan mohan &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 5 sql query for each of my databases and i don't know the number of databases &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 09:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885688#M657564</guid>
      <dc:creator />
      <dc:date>2015-05-19T09:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885689#M657565</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;YOu have to add manually the queries everytime or else you have to store database details in some Excel file and using this loop through each row and load the data dynamically, everytime when a new database add it in the excel and for loop will load automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 09:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885689#M657565</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-05-19T09:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885690#M657566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jourdan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said table names are same in both the databases. then you can easily switch the database based on the user selection.&lt;/P&gt;&lt;P&gt;Step 1: Create a connection string for the the database and store them in two separate text file.&lt;/P&gt;&lt;P&gt;Step 2: Call these connection string using Include function.&lt;/P&gt;&lt;P&gt;Step 3: Create a variable called var1 and add input box and assign variable var1 to input box to get the value from the user.&lt;/P&gt;&lt;P&gt;Step 4: Write the following code in Edit Script &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (var1 = 1) then &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(Include=E:\Qlikview Documents\Connection String\DB1.txt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt; $(Include=E:\Qlikview Documents\Connection String\DB2.txt);&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any doubts, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shambhu B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 09:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885690#M657566</guid>
      <dc:creator>shambhub</dc:creator>
      <dc:date>2015-05-19T09:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885691#M657567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-I do this successfully storing the database details in a xls and using a loop, as Jagan suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works great on 30+ databases, all of which are 10+ Gbytes and some 100+ Gbytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each database I store a seperate qvd file which makes the incremental loads much easier than they would be otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the qvw dashboard&amp;nbsp; I do optimized loads of them via a loop using the same xls and concatenate them all together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView works really well with such concatenated Fact Tables and with QlikView's inherent data field de-duplication will most likely be the most efficient solution - dependent on the actual data values, occurences &amp;amp; spread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 09:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885691#M657567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T09:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885692#M657568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but i'm "new" to qlikview, have you got a schema or a quick example ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop in the QWD&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp; XLS "details databases ?"&amp;nbsp;&amp;nbsp; --&amp;gt;&amp;nbsp;&amp;nbsp; QVD&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 09:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885692#M657568</guid>
      <dc:creator />
      <dc:date>2015-05-19T09:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885693#M657569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/ShambhuB"&gt;ShambhuB&lt;/A&gt;&lt;/STRONG&gt;, thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this solution i have to change the script and create a .txt for each of news databases. If it's was just for me ok, but it's for my colleagues, they are zero &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 09:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885693#M657569</guid>
      <dc:creator />
      <dc:date>2015-05-19T09:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885694#M657570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you are &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"new" to qlikview, &lt;/SPAN&gt;I'd suggest you start simple and just use 2 database sources and hard code it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you have got that working, tested and you are confident you understand it, then worry about the loop and the xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is exactly how I started when I was building my solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 10:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885694#M657570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T10:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885695#M657571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is a simple user friendly way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you will need to generate some training materials for your users to assist them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 10:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885695#M657571</guid>
      <dc:creator />
      <dc:date>2015-05-19T10:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885696#M657572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have my query with two databases concatenate&lt;/P&gt;&lt;P&gt;sql select * from base10_05.tableA concatenate &lt;SPAN style="font-size: 13.3333330154419px;"&gt;select * from base14_05.tableA&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(thanks for your help)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 12:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885696#M657572</guid>
      <dc:creator />
      <dc:date>2015-05-19T12:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885697#M657573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;be damned final user &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/devil.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 12:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885697#M657573</guid>
      <dc:creator />
      <dc:date>2015-05-19T12:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885698#M657574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i've tried something like this :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A xls files connect to my server with the list of databases (sql show database) and a column choice where the user copy past the database that he want.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG __jive_id="86901" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86901_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in my script :&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;//connexion a la base&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO BasesPourQVW;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD DataBases,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Choix&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [Bases MySQL$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vbaseSelected = &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Choix&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hourlyvalue_time :&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM $(vbaseSelected).mod_bi_servicemetrics&lt;/P&gt;&lt;P&gt;JOIN $(vbaseSelected).mod_bi_metrichourlyvalue on $(vbaseSelected).mod_bi_servicemetrics.id = $(vbaseSelected).mod_bi_metrichourlyvalue.servicemetric_id &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But &lt;SPAN style="font-size: 13.3333330154419px;"&gt;vbaseSelected return nothing.. so -&amp;gt; sql error : No database selected&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 13:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885698#M657574</guid>
      <dc:creator />
      <dc:date>2015-05-19T13:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885699#M657575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let vbaseSelected = '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Choix'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Set vbaseSelected = &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Choix&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 14:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885699#M657575</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-05-19T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885700#M657576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it return "choix" not the content &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 14:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885700#M657576</guid>
      <dc:creator />
      <dc:date>2015-05-19T14:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Select from several Database</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885701#M657577</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;i've done this, it works but i keep the topic not resolve if you have an other solution.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A xls files connect to my server with the list of databases (sql show database) and a column choice where the user copy past the database that he want.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-777985-86901/Capture.PNG" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" height="79" src="https://community.qlik.com/legacyfs/online/86971_Capture.PNG" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="323" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in my script :&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//connexion a la base&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ODBC CONNECT TO BasesPourQVW;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD DataBases,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Choix&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(biff, embedded labels, table is [Bases MySQL$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vbaseSelected = peek('&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Choix',0)&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hourlyvalue_time :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM $(vbaseSelected).mod_bi_servicemetrics&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;JOIN $(vbaseSelected).mod_bi_metrichourlyvalue on $(vbaseSelected).mod_bi_servicemetrics.id = $(vbaseSelected).mod_bi_metrichourlyvalue.servicemetric_id &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&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;/P&gt;&lt;UL&gt;&lt;LI&gt;it makes a step for the user so it's not really optimal, but if there aren't other answer, it doesn't matter &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everybody &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 07:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-from-several-Database/m-p/885701#M657577</guid>
      <dc:creator />
      <dc:date>2015-05-20T07:14:02Z</dc:date>
    </item>
  </channel>
</rss>

