<?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: QVX_UNEXPECTED_END_OF_DATA:  SQL##f - SqlState: S1000, ErrorCode: 6502, ErrorMsg: [Oracle][ODBC][Ora]ORA-06502: PL/SQL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVX-UNEXPECTED-END-OF-DATA-SQL-f-SqlState-S1000-ErrorCode-6502/m-p/1225901#M391296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the row and i the "Note" length is about 1062 char. How/Where can i set a value for this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2017 13:30:39 GMT</pubDate>
    <dc:creator>oboute</dc:creator>
    <dc:date>2017-02-20T13:30:39Z</dc:date>
    <item>
      <title>QVX_UNEXPECTED_END_OF_DATA:  SQL##f - SqlState: S1000, ErrorCode: 6502, ErrorMsg: [Oracle][ODBC][Ora]ORA-06502: PL/SQL</title>
      <link>https://community.qlik.com/t5/QlikView/QVX-UNEXPECTED-END-OF-DATA-SQL-f-SqlState-S1000-ErrorCode-6502/m-p/1225900#M391295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I receive this error since 1 day :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;QVX_UNEXPECTED_END_OF_DATA:&amp;nbsp; SQL##f - SqlState: S1000, ErrorCode: 6502, ErrorMsg: [Oracle][ODBC][Ora]ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur: tampon de chaîne de caractères trop petit ORA-06512: à ligne 1&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The part "tampon de chaîne de caractères trop petit" make me think about a buffer too small. When i execute the same SQL in ORACLE SQL DEVELOPER, it's Ok.&lt;/P&gt;&lt;P&gt;Do you have any idea ? is there some param to do with ODBC reader and buffers ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my SQL :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Select&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; LEDGER_ITEM_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RTRIM(XMLAGG(XMLELEMENT(E,NOTE,',').EXTRACT('//text()') ORDER BY LEDGER_ITEM_ID).GetClobVal(),',') AS "Note"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from [MyTable]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; LEDGER_ITEM_ID&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I use the big function to concat field "Note" group by my LEDGER_ITEM_ID.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 10:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVX-UNEXPECTED-END-OF-DATA-SQL-f-SqlState-S1000-ErrorCode-6502/m-p/1225900#M391295</guid>
      <dc:creator>oboute</dc:creator>
      <dc:date>2017-02-20T10:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: QVX_UNEXPECTED_END_OF_DATA:  SQL##f - SqlState: S1000, ErrorCode: 6502, ErrorMsg: [Oracle][ODBC][Ora]ORA-06502: PL/SQL</title>
      <link>https://community.qlik.com/t5/QlikView/QVX-UNEXPECTED-END-OF-DATA-SQL-f-SqlState-S1000-ErrorCode-6502/m-p/1225901#M391296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the row and i the "Note" length is about 1062 char. How/Where can i set a value for this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 13:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVX-UNEXPECTED-END-OF-DATA-SQL-f-SqlState-S1000-ErrorCode-6502/m-p/1225901#M391296</guid>
      <dc:creator>oboute</dc:creator>
      <dc:date>2017-02-20T13:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: QVX_UNEXPECTED_END_OF_DATA:  SQL##f - SqlState: S1000, ErrorCode: 6502, ErrorMsg: [Oracle][ODBC][Ora]ORA-06502: PL/SQL</title>
      <link>https://community.qlik.com/t5/QlikView/QVX-UNEXPECTED-END-OF-DATA-SQL-f-SqlState-S1000-ErrorCode-6502/m-p/1225902#M391297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I changed the way to do and it's working now !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Select&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; LEDGER_ITEM_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;LISTAGG(NOTE, ',') WITHIN GROUP (ORDER BY LEDGER_ITEM_ID) AS "Note"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;from [MyTable]&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;group by&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; LEDGER_ITEM_ID&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 15:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVX-UNEXPECTED-END-OF-DATA-SQL-f-SqlState-S1000-ErrorCode-6502/m-p/1225902#M391297</guid>
      <dc:creator>oboute</dc:creator>
      <dc:date>2017-02-20T15:46:16Z</dc:date>
    </item>
  </channel>
</rss>

