<?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 How to Join two diffrent source datbase tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Join-two-diffrent-source-datbase-tables/m-p/1576506#M741575</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;We have view created in SQL Server and two SQL tables are used in that, but because of my migration project&lt;/P&gt;&lt;P&gt;Underlying table are distributed in SQL and Oracle .&lt;/P&gt;&lt;P&gt;Below is the tables and join used in SQL server - &amp;nbsp;QV and Master tables&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;SELECT&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff00ff"&gt;UPPER&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;(&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;Name&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;)&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'LINK'&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;,&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; [Exec]&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;,&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; DisplayName&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;,&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'Div'&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'PermissionRule'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;FROM&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; QV Q&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;JOIN&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#808080"&gt;(&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#0000ff"&gt;SELECT&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#0000ff"&gt;DISTINCT&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'JB'&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'Entity'&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;,&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; [Name] &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'Exec'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;FROM&lt;/FONT&gt; &lt;FONT face="Consolas" size="2"&gt;Master&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;WHERE&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; Division &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;=&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'JB'&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#808080"&gt;)&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; T &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'JB'&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#808080"&gt;=&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; T&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;.&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;Entity&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;WHERE&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; QVAppID &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;=&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; 3 &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;AND&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; AllJEBData &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;=&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; 1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Because of this Migration QV table is left in SQL and Master table&amp;nbsp; is coming from Oracle. Now I have build above query in Qlikview, for this I have fetched data from SQL and Oracle in separate&amp;nbsp;Qlikview Tables &amp;nbsp;but can not build this join&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suugest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>vijaysahu2</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to Join two diffrent source datbase tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Join-two-diffrent-source-datbase-tables/m-p/1576506#M741575</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;We have view created in SQL Server and two SQL tables are used in that, but because of my migration project&lt;/P&gt;&lt;P&gt;Underlying table are distributed in SQL and Oracle .&lt;/P&gt;&lt;P&gt;Below is the tables and join used in SQL server - &amp;nbsp;QV and Master tables&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;SELECT&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff00ff"&gt;UPPER&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;(&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;Name&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;)&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'LINK'&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;,&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; [Exec]&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;,&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; DisplayName&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;,&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'Div'&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'PermissionRule'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;FROM&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; QV Q&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;JOIN&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#808080"&gt;(&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#0000ff"&gt;SELECT&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#0000ff"&gt;DISTINCT&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'JB'&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'Entity'&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;,&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; [Name] &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;AS&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'Exec'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;FROM&lt;/FONT&gt; &lt;FONT face="Consolas" size="2"&gt;Master&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;WHERE&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; Division &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;=&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'JB'&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#808080"&gt;)&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; T &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;ON&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#ff0000"&gt;'JB'&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#808080"&gt;=&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; T&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;.&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;Entity&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;WHERE&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; QVAppID &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;=&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; 3 &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;AND&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; AllJEBData &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#808080"&gt;=&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; 1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Because of this Migration QV table is left in SQL and Master table&amp;nbsp; is coming from Oracle. Now I have build above query in Qlikview, for this I have fetched data from SQL and Oracle in separate&amp;nbsp;Qlikview Tables &amp;nbsp;but can not build this join&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suugest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Join-two-diffrent-source-datbase-tables/m-p/1576506#M741575</guid>
      <dc:creator>vijaysahu2</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Join two diffrent source datbase tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Join-two-diffrent-source-datbase-tables/m-p/1576509#M741576</link>
      <description>In Qlikview you would have to load them separately and join the resulting tables.&lt;BR /&gt;&lt;BR /&gt;I've also made things like this work using linked servers and ODBC connections and doing the query on either the oracle or sql server directly.</description>
      <pubDate>Fri, 03 May 2019 16:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Join-two-diffrent-source-datbase-tables/m-p/1576509#M741576</guid>
      <dc:creator>wandererroch</dc:creator>
      <dc:date>2019-05-03T16:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Join two diffrent source datbase tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Join-two-diffrent-source-datbase-tables/m-p/1576510#M741577</link>
      <description>Linked server is not approved in my project and this logic needs to be build in Qlikview only. I tried something like below but not sure if it will give the same result or not.&lt;BR /&gt;&lt;BR /&gt;$(Include=..\inputdata\QlikviewDBCon.txt);&lt;BR /&gt;&lt;BR /&gt;call SQLConnnection;&lt;BR /&gt;&lt;BR /&gt;QV:&lt;BR /&gt;Load *;&lt;BR /&gt;SQL SELECT UPPER(Name) AS 'LINK', DisplayName, 'Div' AS 'PermissionRule'&lt;BR /&gt;FROM QV Q WHERE QVAppID = 3 AND AllJEBData = 1;&lt;BR /&gt;&lt;BR /&gt;$(Include=..\inputdata\salescon.txt);&lt;BR /&gt;&lt;BR /&gt;call OracleConnection;&lt;BR /&gt;&lt;BR /&gt;Inner JOIN(QV)&lt;BR /&gt;&lt;BR /&gt;JEB:&lt;BR /&gt;Load *;&lt;BR /&gt;SQL SELECT&lt;BR /&gt;distinct 'JB' AS "Entity", name AS "Exec"&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;[master]&lt;BR /&gt;&lt;BR /&gt;WHERE Division = 'JB';</description>
      <pubDate>Fri, 03 May 2019 16:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Join-two-diffrent-source-datbase-tables/m-p/1576510#M741577</guid>
      <dc:creator>vijaysahu2</dc:creator>
      <dc:date>2019-05-03T16:52:36Z</dc:date>
    </item>
  </channel>
</rss>

