<?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 ODBC read failed error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182123#M382947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please help me with the following error i am getting ..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am trying to retrieve the data from MS SQL database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am getting the ODBC read failed error. &lt;SPAN style="font-size: 10pt;"&gt;for the following sql query,&amp;nbsp; which joins the two tables &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;select BB.ID_CO,COUNT(DISTINCT BB.ID_BAG) as NoOfBags,&lt;/P&gt;&lt;P&gt;&amp;nbsp; COUNT(DISTINCT BB.ID_BOX) as NoOfBOXES,&lt;/P&gt;&lt;P&gt;&amp;nbsp; BH.ID_CO&lt;/P&gt;&lt;P&gt;from [BAG_BOX_REPORT] BB&lt;/P&gt;&lt;P&gt;&amp;nbsp; inner join [BAG_BOX_HISTORY] BH&lt;/P&gt;&lt;P&gt;&amp;nbsp; on&amp;nbsp; BB.ID_CO=BB.ID_CO&lt;/P&gt;&lt;P&gt;&amp;nbsp; WHERE BH.ID_CO='7354741'&lt;/P&gt;&lt;P&gt;&amp;nbsp; AND BR.ID_CO='7354741'&lt;/P&gt;&lt;P&gt;&amp;nbsp; GROUP BY BB.ID_CO,BH.ID_CO;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the screenshot of the error i encounter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ffp odbc err.PNG" class="jive-image image-1" src="/legacyfs/online/138665_ffp odbc err.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting any error, if i load the both tables individually without any join i am not getting any errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2016 11:09:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-26T11:09:51Z</dc:date>
    <item>
      <title>ODBC read failed error</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182123#M382947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please help me with the following error i am getting ..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am trying to retrieve the data from MS SQL database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am getting the ODBC read failed error. &lt;SPAN style="font-size: 10pt;"&gt;for the following sql query,&amp;nbsp; which joins the two tables &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;select BB.ID_CO,COUNT(DISTINCT BB.ID_BAG) as NoOfBags,&lt;/P&gt;&lt;P&gt;&amp;nbsp; COUNT(DISTINCT BB.ID_BOX) as NoOfBOXES,&lt;/P&gt;&lt;P&gt;&amp;nbsp; BH.ID_CO&lt;/P&gt;&lt;P&gt;from [BAG_BOX_REPORT] BB&lt;/P&gt;&lt;P&gt;&amp;nbsp; inner join [BAG_BOX_HISTORY] BH&lt;/P&gt;&lt;P&gt;&amp;nbsp; on&amp;nbsp; BB.ID_CO=BB.ID_CO&lt;/P&gt;&lt;P&gt;&amp;nbsp; WHERE BH.ID_CO='7354741'&lt;/P&gt;&lt;P&gt;&amp;nbsp; AND BR.ID_CO='7354741'&lt;/P&gt;&lt;P&gt;&amp;nbsp; GROUP BY BB.ID_CO,BH.ID_CO;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the screenshot of the error i encounter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ffp odbc err.PNG" class="jive-image image-1" src="/legacyfs/online/138665_ffp odbc err.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting any error, if i load the both tables individually without any join i am not getting any errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 11:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182123#M382947</guid>
      <dc:creator />
      <dc:date>2016-09-26T11:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC read failed error</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182124#M382948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&amp;nbsp; BB.ID_CO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(DISTINCT BB.ID_BAG) as NoOfBags,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(DISTINCT BB.ID_BOX) as NoOfBOXES,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BH.ID_CO&lt;/P&gt;&lt;P&gt;from [BAG_BOX_REPORT] BB join [BAG_BOX_HISTORY] BH&lt;/P&gt;&lt;P&gt;&amp;nbsp; WHERE BH.ID_CO='7354741'&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;AND BR.ID_CO = BH.ID_CO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; GROUP BY BB.ID_CO,BH.ID_CO;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 11:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182124#M382948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-26T11:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC read failed error</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182125#M382949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have 2 fields with same name ID_PO.&lt;/P&gt;&lt;P&gt;Remove one or rename &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 11:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182125#M382949</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-09-26T11:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC read failed error</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182126#M382950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manuel&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;I a getting the following error at where , with the change you suggested&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ffp odbc err2.PNG" class="jive-image image-1" src="/legacyfs/online/138666_ffp odbc err2.PNG" style="height: 47px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 11:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182126#M382950</guid>
      <dc:creator />
      <dc:date>2016-09-26T11:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC read failed error</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182127#M382951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What error do you have on MS SQL Management Tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 11:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182127#M382951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-26T11:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC read failed error</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182128#M382952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Clever &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have removed the duplicate field. I thought, since i have used the alias table name on each column name, they will be treated as different fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 11:43:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182128#M382952</guid>
      <dc:creator />
      <dc:date>2016-09-26T11:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC read failed error</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182129#M382953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for quick reply and helping me&amp;nbsp; Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 11:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182129#M382953</guid>
      <dc:creator />
      <dc:date>2016-09-26T11:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC read failed error</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182130#M382954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ganesh Vara, alias table name are not loaded into Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select &lt;/P&gt;&lt;P&gt;&amp;nbsp; table.fieldA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;becomes fieldA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the table name use this&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;&amp;nbsp; table.fieldA as [table.fieldA]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 11:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182130#M382954</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-09-26T11:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC read failed error</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182131#M382955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 11:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed-error/m-p/1182131#M382955</guid>
      <dc:creator />
      <dc:date>2016-09-26T11:50:05Z</dc:date>
    </item>
  </channel>
</rss>

