<?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 Script Error:  Cannot resolve the collation conflict in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Error-Cannot-resolve-the-collation-conflict/m-p/205967#M62254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting the following script error: "ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Cannot resolve the collation conflict between "Latin1_General_CI_AI" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation."&lt;/P&gt;&lt;P&gt;The bit of script itself is fairly straight forward:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;SQL SELECT DISTINCT *&lt;BR /&gt;FROM Table2&lt;BR /&gt; WHERE EXISTS&lt;BR /&gt; (SELECT * FROM Table1 WHERE Table2.Field1 = Table1.Field1&lt;BR /&gt; AND Table2.Field2 = Table1.Field2)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stumped. Has anyone run into this and have any recommendations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2011 18:44:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-08T18:44:28Z</dc:date>
    <item>
      <title>Script Error:  Cannot resolve the collation conflict</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Cannot-resolve-the-collation-conflict/m-p/205967#M62254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting the following script error: "ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Cannot resolve the collation conflict between "Latin1_General_CI_AI" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation."&lt;/P&gt;&lt;P&gt;The bit of script itself is fairly straight forward:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;SQL SELECT DISTINCT *&lt;BR /&gt;FROM Table2&lt;BR /&gt; WHERE EXISTS&lt;BR /&gt; (SELECT * FROM Table1 WHERE Table2.Field1 = Table1.Field1&lt;BR /&gt; AND Table2.Field2 = Table1.Field2)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stumped. Has anyone run into this and have any recommendations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 18:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Cannot-resolve-the-collation-conflict/m-p/205967#M62254</guid>
      <dc:creator />
      <dc:date>2011-02-08T18:44:28Z</dc:date>
    </item>
    <item>
      <title>Script Error:  Cannot resolve the collation conflict</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Cannot-resolve-the-collation-conflict/m-p/205968#M62255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks as if you have mixed the SQL-part with the QV-script-part.&lt;/P&gt;&lt;P&gt;You may have the SQL-syntax preceded with the QV-owned LOAD, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD * WHERE EXISTS(YourField); SQL SELECT .... [here your SQL-statement];&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Though the SQL will be performed and then further restricted/manipulated as per the preceding load.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 21:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Cannot-resolve-the-collation-conflict/m-p/205968#M62255</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-02-08T21:35:20Z</dc:date>
    </item>
  </channel>
</rss>

