<?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: OLEDB Read Failed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/OLEDB-Read-Failed/m-p/1280607#M622884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;Turned out to be a source data quality issue!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;A Product had been setup with a pack size of 2,000 in Sage – the “2,000” has a comma and has caused the SQL scripts to fail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;Once corrected it worked!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;Thanks for the pointers&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2017 10:35:28 GMT</pubDate>
    <dc:creator>awhitfield</dc:creator>
    <dc:date>2017-02-16T10:35:28Z</dc:date>
    <item>
      <title>OLEDB Read Failed</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Read-Failed/m-p/1280604#M622879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A client has an issue with failing reloads, they are getting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Century Gothic',sans-serif; color: red;"&gt;&lt;STRONG style="color: #000000;"&gt;OLEDB read failed&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt;SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; opheadm.date_entered,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; opheadm.date_required,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; opheadm.customer location,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; opheadm.class invoice_cat,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; opheadm.pick_list pick_list,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; opheadm.order_no order_no,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; opheadm.invoice_customer customer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; opheadm.status status,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; opheadm.customer_order_no cust_order_no,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; CASE WHEN customer.analysis_code_6=' ' THEN 'MISSING' ELSE customer.analysis_code_6 END customer_group,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; opdetm.warehouse+'#'+opdetm.product wh_product,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; (CASE WHEN stockm.packaging='' or stockm.packaging=0 then 0 ELSE (CASE WHEN left(opheadm.order_no,2)&amp;lt;&amp;gt;'CN' AND opheadm.status='7' THEN opdetm.despatched_qty/stockm.packaging ELSE (SELECT CASE WHEN left(opheadm.order_no,2)&amp;lt;&amp;gt;'CN' AND opheadm.status&amp;lt;&amp;gt;'7' THEN opdetm.order_qty/stockm.packaging ELSE (SELECT CASE WHEN opheadm.status='7' THEN -opdetm.despatched_qty/stockm.packaging ELSE -opdetm.order_qty/stockm.packaging END) END) END) END) cases,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; (CASE WHEN left(opheadm.order_no,2)&amp;lt;&amp;gt;'CN' THEN opdetm.order_qty ELSE (CASE WHEN opheadm.status='7' THEN -opdetm.despatched_qty ELSE -opdetm.order_qty END) END) quantity,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; (CASE WHEN left(opheadm.order_no,2)&amp;lt;&amp;gt;'CN' THEN opdetm.order_qty*opdetm.net_price ELSE (CASE WHEN opheadm.status='7' THEN -opdetm.despatched_qty*opdetm.net_price ELSE -opdetm.order_qty*net_price END) END)/(CASE WHEN substring(opdetm.spare,16,1)=' ' THEN 1 ELSE CAST(substring(opdetm.spare,16,12) AS float) END) sales,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; (CASE WHEN left(opheadm.order_no,2)&amp;lt;&amp;gt;'CN' THEN opdetm.order_qty*opdetm.net_price ELSE (CASE WHEN opheadm.status='7' THEN -opdetm.despatched_qty*opdetm.net_price ELSE -opdetm.order_qty*net_price END) END) sales#c,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; (CASE WHEN left(opheadm.order_no,2)&amp;lt;&amp;gt;'CN' THEN opdetm.vat_amount ELSE (CASE WHEN opheadm.status='7' THEN -vat_amount ELSE -vat_amount END) END) vat#c,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; (CASE WHEN left(opheadm.order_no,2)&amp;lt;&amp;gt;'CN' THEN opdetm.order_qty*(opdetm.net_price-opdetm.cost_of_sale) ELSE (CASE WHEN opheadm.status='7' THEN -opdetm.despatched_qty*(opdetm.net_price-opdetm.cost_of_sale) ELSE -opdetm.order_qty*(opdetm.net_price-opdetm.cost_of_sale) END) END)/(CASE WHEN substring(opdetm.spare,16,1)=' ' THEN 1 ELSE CAST(substring(opdetm.spare,16,12) AS float) END) gp,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; (CASE WHEN left(opheadm.order_no,2)&amp;lt;&amp;gt;'CN' THEN opdetm.order_qty*(opdetm.net_price-opdetm.cost_of_sale) ELSE (CASE WHEN opheadm.status='7' THEN -opdetm.despatched_qty*(opdetm.net_price-opdetm.cost_of_sale) ELSE -opdetm.order_qty*(opdetm.net_price-opdetm.cost_of_sale) END) END) gp#c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; live.scheme.opheadm opheadm WITH (nolock) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; INNER JOIN live.scheme.opdetm opdetm WITH (nolock) ON opheadm.order_no=opdetm.order_no&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; INNER JOIN live.scheme.slcustm customer WITH (nolock) ON opheadm.invoice_customer=customer.customer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt; LEFT OUTER JOIN live.scheme.stockm stockm WITH (nolock) ON opdetm.warehouse=stockm.warehouse AND opdetm.product=stockm.product&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt;WHERE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt;&amp;nbsp; opheadm.status BETWEEN '1' AND '6'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt;&amp;nbsp; AND opdetm.line_type IN ('P','S')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt;Any Ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Century Gothic', sans-serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Century Gothic',sans-serif; color: red;"&gt;&lt;SPAN style="color: #000000;"&gt;Andy&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 14:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Read-Failed/m-p/1280604#M622879</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2017-02-15T14:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB Read Failed</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Read-Failed/m-p/1280605#M622881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Often when I receive this error it's becuase I have multiple columns with the same name. For some reason if you have duplicate column names you will receive the ODBC fail read error message. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 15:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Read-Failed/m-p/1280605#M622881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-15T15:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB Read Failed</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Read-Failed/m-p/1280606#M622882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reloads are failing in general or just sometimes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe a different oledb/odbc-driver could help. Further the approach of reducing the number of fields and/or different where-clauses could be useful to find the cause of the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 15:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Read-Failed/m-p/1280606#M622882</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-02-15T15:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB Read Failed</title>
      <link>https://community.qlik.com/t5/QlikView/OLEDB-Read-Failed/m-p/1280607#M622884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;Turned out to be a source data quality issue!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;A Product had been setup with a pack size of 2,000 in Sage – the “2,000” has a comma and has caused the SQL scripts to fail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;Once corrected it worked!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Century Gothic',sans-serif; color: #1f497d;"&gt;Thanks for the pointers&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 10:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OLEDB-Read-Failed/m-p/1280607#M622884</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2017-02-16T10:35:28Z</dc:date>
    </item>
  </channel>
</rss>

