SET PAGES 0;
SET LINE 1000;
SET LONG 9999999;
SPOOL C:\pensionnew.xml;
col foo format a60000;
--SELECT DBMS_XMLGEN.GETXML('SELECT * FROM DATAAG')foo FROM DUAL;
SELECT DBMS_XMLGEN.GETXML('SELECT XMLConcat(XMLElement("ID", e.ID),XMLElement("LAST_OFFICE_WORKED", e.LAST_OFFICE_WORKED))as "Pendata"
FROM dataag e') foo FROM DUAL;
SPOOL OFF;
我将此代码用于 xml 生成,但在特定长度之后剪切了列标记,那么如何增加列长度或最大格式?