Create an Excel File (.xlsx) using PL/SQL

后端 未结 3 1153
无人共我
无人共我 2020-11-29 05:34

In relation to my previous question Return the SQL Statement of an Explicit Cursor, i was able to generate an Excel (.xls) file using DBMS_SQL and

3条回答
  •  时光说笑
    2020-11-29 06:23

    There is no support for xls or xlsx files in Oracle database as such.

    What you can do is create CSV (Comma Separated) file and then, compress it into a zip file using a custom java stored procedure which uses java.util.zip, or a PL/SQL procedure that uses UTL_COMPRESS.

提交回复
热议问题