<?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: Working SQL Query giving error when run through Qlik (OLEDB Connect32) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Working-SQL-Query-giving-error-when-run-through-Qlik-OLEDB/m-p/21510#M609884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a LOAD statement before doing the SELECT and make sure you get every field only once, and also that the field spelling is case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, run the three selects separately (OCRD, OCRG and OSLP) and verify that the results are expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Feb 2018 16:52:40 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2018-02-14T16:52:40Z</dc:date>
    <item>
      <title>Working SQL Query giving error when run through Qlik (OLEDB Connect32)</title>
      <link>https://community.qlik.com/t5/QlikView/Working-SQL-Query-giving-error-when-run-through-Qlik-OLEDB/m-p/21509#M609883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to pull in some SAP SQL data through the OLEDB Connect 32 connector, but I'm running into an error when it comes to the Business Partner data table generated through a Left Join containing query. My other tables using the same connector work fine and this Query also works fine when run Microsoft SQL Server Management Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikError.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193373_QlikError.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;BPMaster:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT OCRD.[GroupCode],&lt;/P&gt;&lt;P&gt;OCRD.[CardCode],&lt;/P&gt;&lt;P&gt;OCRD.[CardName],&lt;/P&gt;&lt;P&gt;OCRD.[SlpCode],&lt;/P&gt;&lt;P&gt;OCRD.[CardType],&lt;/P&gt;&lt;P&gt;OCRG.[GroupCode],&lt;/P&gt;&lt;P&gt;OCRG.[GroupName],&lt;/P&gt;&lt;P&gt;OSLP.[SlpCode],&lt;/P&gt;&lt;P&gt;OSLP.[SlpName] &lt;/P&gt;&lt;P&gt;FROM OCRD&lt;/P&gt;&lt;P&gt;LEFT JOIN OCRG ON OCRD.[GroupCode] = OCRG.[GroupCode]&lt;/P&gt;&lt;P&gt;LEFT JOIN OSLP ON OCRD.[SlpCode] = OSLP.[SlpCode];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 11:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-SQL-Query-giving-error-when-run-through-Qlik-OLEDB/m-p/21509#M609883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-14T11:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Working SQL Query giving error when run through Qlik (OLEDB Connect32)</title>
      <link>https://community.qlik.com/t5/QlikView/Working-SQL-Query-giving-error-when-run-through-Qlik-OLEDB/m-p/21510#M609884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a LOAD statement before doing the SELECT and make sure you get every field only once, and also that the field spelling is case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, run the three selects separately (OCRD, OCRG and OSLP) and verify that the results are expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 16:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-SQL-Query-giving-error-when-run-through-Qlik-OLEDB/m-p/21510#M609884</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-02-14T16:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Working SQL Query giving error when run through Qlik (OLEDB Connect32)</title>
      <link>https://community.qlik.com/t5/QlikView/Working-SQL-Query-giving-error-when-run-through-Qlik-OLEDB/m-p/21511#M609885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/17633"&gt;mbaeyens&lt;/A&gt; Thanks it was due to GroupCode and SlpCode appearing twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BPMaster:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT OCRD.[GroupCode] AS 'GrpCode',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OCRD.[CardCode],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OCRD.[CardName],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OCRD.[SlpCode] AS 'SalespCode',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OCRD.[CardType],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OCRG.[GroupCode],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OCRG.[GroupName],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OSLP.[SlpCode],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OSLP.[SlpName],&lt;/P&gt;&lt;P&gt;FROM OCRD&lt;/P&gt;&lt;P&gt;LEFT JOIN OCRG ON OCRD.[GroupCode] = OCRG.[GroupCode]&lt;/P&gt;&lt;P&gt;LEFT JOIN OSLP ON OCRD.[SlpCode] = OSLP.[SlpCode];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 17:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-SQL-Query-giving-error-when-run-through-Qlik-OLEDB/m-p/21511#M609885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-14T17:40:39Z</dc:date>
    </item>
  </channel>
</rss>

