<?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: Coalition problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Coalition-problem/m-p/972610#M947824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The working result will be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;Tbl_Contact.ID AS ID_Contact,&lt;/P&gt;&lt;P&gt;Tbl_Contact.Name AS Agent_Name,&lt;/P&gt;&lt;P&gt;Tbl_Contact.DepartmentID AS "Contact__Agent_Department_2",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tbl_Contract2.ContractNumber AS Contract__Number,&lt;/P&gt;&lt;P&gt;Tbl_Contract_3."Customer No_" AS Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM "TS_Live".dbo."tbl_Contact" AS Tbl_Contact&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN "TS_Live".dbo."tbl_Contract" AS Tbl_Contract2&lt;/P&gt;&lt;P&gt;&amp;nbsp; ON Tbl_Contact.ID = Tbl_Contract2.AgentID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN "EUR-VENDEN".dbo."EUR VENDEN GROUP$Ship-to Address" AS Tbl_Contract_3&lt;/P&gt;&lt;P&gt;&amp;nbsp; ON Tbl_Contract_3.Code&lt;STRONG&gt; collate Latin1_General_CI_AS&lt;/STRONG&gt; = Tbl_Contract2.ContractNumber;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2015 13:32:47 GMT</pubDate>
    <dc:creator>sculptorlv</dc:creator>
    <dc:date>2015-12-22T13:32:47Z</dc:date>
    <item>
      <title>Coalition problem</title>
      <link>https://community.qlik.com/t5/QlikView/Coalition-problem/m-p/972607#M947821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to join two tables from one database (MS SQL) but different application system (which was created by different partners).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;Tbl_Contact.ID AS ID_Contact,&lt;/P&gt;&lt;P&gt;Tbl_Contact.Name AS Agent_Name,&lt;/P&gt;&lt;P&gt;Tbl_Contact.DepartmentID AS "Contact__Agent_Department_2",&lt;/P&gt;&lt;P&gt;Tbl_Contract2.ContractNumber AS Contract__Number&lt;/P&gt;&lt;P&gt;FROM "TS_Live".dbo."tbl_Contact" AS Tbl_Contact&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN "TS_Live".dbo."tbl_Contract" AS Tbl_Contract2&lt;/P&gt;&lt;P&gt;&amp;nbsp; ON Tbl_Contact.ID = Tbl_Contract2.AgentID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN "EUR-VENDEN".dbo."EUR VENDEN GROUP$Ship-to Address" AS Tbl_Contract_3&lt;/P&gt;&lt;P&gt;&amp;nbsp; ON Tbl_Contract_3.Code = Tbl_Contract2.ContractNumber;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The third table &lt;SPAN style="font-size: 13.3333px;"&gt;"EUR VENDEN GROUP$Ship-to Address"&amp;nbsp; is from a different system. And when I run script - I get coalition conflict&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;'....conflict between "Latin1_General_CI_AS" and "Latvian_CI_AS"....'&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109693_1.jpg" style="height: 188px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now very well that &lt;SPAN style="font-size: 13.3333px;"&gt;Tbl_Contract_3.Code and Tbl_Contract2.ContractNumber values are identical!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to join these tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 12:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalition-problem/m-p/972607#M947821</guid>
      <dc:creator>sculptorlv</dc:creator>
      <dc:date>2015-12-22T12:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Coalition problem</title>
      <link>https://community.qlik.com/t5/QlikView/Coalition-problem/m-p/972608#M947822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ruslans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is a SQL Issue rather than Qlikview, you would need to use a collate clause in your select statement, see the attached link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/2290753/doing-a-join-across-two-databases-with-different-collations-on-sql-server-and-ge"&gt;http://stackoverflow.com/questions/2290753/doing-a-join-across-two-databases-with-different-collations-on-sql-server-and-ge&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 12:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalition-problem/m-p/972608#M947822</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-12-22T12:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Coalition problem</title>
      <link>https://community.qlik.com/t5/QlikView/Coalition-problem/m-p/972609#M947823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I use it in Qlikview script or I must do it in SQL database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 13:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalition-problem/m-p/972609#M947823</guid>
      <dc:creator>sculptorlv</dc:creator>
      <dc:date>2015-12-22T13:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Coalition problem</title>
      <link>https://community.qlik.com/t5/QlikView/Coalition-problem/m-p/972610#M947824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The working result will be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;Tbl_Contact.ID AS ID_Contact,&lt;/P&gt;&lt;P&gt;Tbl_Contact.Name AS Agent_Name,&lt;/P&gt;&lt;P&gt;Tbl_Contact.DepartmentID AS "Contact__Agent_Department_2",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tbl_Contract2.ContractNumber AS Contract__Number,&lt;/P&gt;&lt;P&gt;Tbl_Contract_3."Customer No_" AS Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM "TS_Live".dbo."tbl_Contact" AS Tbl_Contact&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN "TS_Live".dbo."tbl_Contract" AS Tbl_Contract2&lt;/P&gt;&lt;P&gt;&amp;nbsp; ON Tbl_Contact.ID = Tbl_Contract2.AgentID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN "EUR-VENDEN".dbo."EUR VENDEN GROUP$Ship-to Address" AS Tbl_Contract_3&lt;/P&gt;&lt;P&gt;&amp;nbsp; ON Tbl_Contract_3.Code&lt;STRONG&gt; collate Latin1_General_CI_AS&lt;/STRONG&gt; = Tbl_Contract2.ContractNumber;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 13:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalition-problem/m-p/972610#M947824</guid>
      <dc:creator>sculptorlv</dc:creator>
      <dc:date>2015-12-22T13:32:47Z</dc:date>
    </item>
  </channel>
</rss>

