<?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: accessing an array element is throwing an error: Failed to parse the SQL statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/accessing-an-array-element-is-throwing-an-error-Failed-to-parse/m-p/1027091#M347035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The sql statement is sent to the odbc or oledb driver you are using. It is that driver that can't handle the arrays. Qlikview has nothing to do with it. You need to find another driver or create a view or stored procedure in your sql database that returns a record set that the driver you're using is capable of handling.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 16:59:27 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-02-25T16:59:27Z</dc:date>
    <item>
      <title>accessing an array element is throwing an error: Failed to parse the SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/accessing-an-array-element-is-throwing-an-error-Failed-to-parse/m-p/1027090#M347034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following query in the load script succeeds when loaded on the designer tool but fails on the server with the error: Failed to parse the SQL statement (and then the following query)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select e.id as "Emp ID",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.name as "Emp Name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.manager[1] as "Manager One",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.manager[2] as "Manager Two"&lt;/P&gt;&lt;P&gt;from "employee" e&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The employee table is as follows:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#000000&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="border: 1px solid #000000; width: 41%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; color: #ffffff; padding: 2px; width: 58px; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; padding: 2px; width: 155px; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; color: #ffffff; padding: 2px; width: 162px; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;manager&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1001&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;sarah&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1002&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;john&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;[1001]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1003&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;bruce&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;[1001,1002]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1004&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;elton&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;[1001,1002]&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically its not able to handle the array element. Please let me know how else can we access the array element of a column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 12:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accessing-an-array-element-is-throwing-an-error-Failed-to-parse/m-p/1027090#M347034</guid>
      <dc:creator />
      <dc:date>2016-02-25T12:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: accessing an array element is throwing an error: Failed to parse the SQL statement</title>
      <link>https://community.qlik.com/t5/QlikView/accessing-an-array-element-is-throwing-an-error-Failed-to-parse/m-p/1027091#M347035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The sql statement is sent to the odbc or oledb driver you are using. It is that driver that can't handle the arrays. Qlikview has nothing to do with it. You need to find another driver or create a view or stored procedure in your sql database that returns a record set that the driver you're using is capable of handling.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 16:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accessing-an-array-element-is-throwing-an-error-Failed-to-parse/m-p/1027091#M347035</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-25T16:59:27Z</dc:date>
    </item>
  </channel>
</rss>

