【发布时间】:2014-04-12 07:28:17
【问题描述】:
在我的存储过程中:
declare
v_xml xmltype;
begin
open v_cur for
Select xmlelement('el',xmlagg(xmlelement('el2'))) from table;
loop
fetch v_cur into v_xml; -- line where the error
*.....additional logic to parse v_xml*
end loop;
end;
当要提取到 v_xml 的记录长度 > 4000 时,我收到“字符串缓冲区太小”错误。你们知道如何解决这个问题吗?谢谢
【问题讨论】:
-
不应该是
be xmlelement("el2")和"el"类似吗?您的表中有多少行?