How to write a large xml data field into a csv file

不想你离开。 提交于 2020-01-23 17:52:07

问题


I am writing data from a table into csv file. Among other fields, clob column is there which has XML data. I am using util_file functionality to write it to csv file and no issues. But when it comes to clob column which holds XML data of size more than 50000 bytes, I am facing issue. 1. It throws error " ORA-29285: file write error " 2. To overcome the above error, through loop I was trying to write the data as chunk bu closing the file and re oppen in append mode. But it starts in a new line and it makes to lose the csv functionality.

Can any one please let me know, how to write the large xml data into one column ( one cell ) in csv file.

来源:https://stackoverflow.com/questions/38172504/how-to-write-a-large-xml-data-field-into-a-csv-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!