在我的存储过程:的XMLType字符串缓冲区太小
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你大家有什么想法如何去做这件事?谢谢
不应该是xmlelement(“el2”)'和类似的“el”吗?你的桌子上有多少行? – Yavor