Oracle to Excel - PL/SQL export procedure

前端 未结 11 1213
轮回少年
轮回少年 2020-12-08 17:56

I’m writing pl/sql procedure that exports data from Oracle to Excel. I need data formatting so I can’t use CSV. I’ve already tried with XML but it generates too large files

11条回答
  •  没有蜡笔的小新
    2020-12-08 18:34

    We use to OOXML methods. We were first writing our own method to do it in PL/SQL but a coworker found this product called Excellant. It it is you pass in a xml spec with column mappings and styles/formulas (almost any excel formula works), the query and it gives you a clob back. So you can then run gzip on the clob if you want to make it smaller. The product is pretty cheep my manager bought it with a pcard.

    The web site is www.peak42solutions.com. We couldn't use ODBC since the network folks don't allow access directly to the database. And we are now emailing invoicing in excel to customers.

    Thanks,

    Bill

提交回复
热议问题