Print CLOB content out as is in Oracle SQL script

后端 未结 4 1350
一向
一向 2021-01-25 18:09

To start with here is the bigger picture of the task I\'m trying to do. I need to create a xml file from the results of the particular SQL request and store it in a file on the

4条回答
  •  一生所求
    2021-01-25 18:31

    Why don't you use DBMS_OUTPUT.PUT instead of DBMS_OUTPUT.PUT_LINE? Give it a try. The trick is to add a newline character after printing your content. You can do it by calling DBMS_OUTPUT.NEW_LINE.

提交回复
热议问题