Tag: utl file

通过PL / SQL生成Excel UTL_FILE,样式错误

我正在使用ExcelDocTypeUtils pkg将查询数据导出到EXCEL FILE。 当我运行这个程序的时候,我得到了一个excel文件,但是当我尝试打开它的时候,这个错误就会popup来: Program came up in the following areas during load: Style 我认为失败的原始行是: — Prepare Headers owa_util.mime_header('application/vnd.ms-excel',FALSE); 我已经尝试设置: <?xml version="1.0" encoding="UTF-8"?>' 但是当我这样做,错误更改为以下内容: Program came up in the following areas during load: 'Strict Parse Error' 以下是我如何执行我的程序: /* Starts */ execute employeereport; CREATE OR REPLACE PROCEDURE employeeReport AS v_sql_salary VARCHAR2(200) := 'SELECT last_name,first_name,salary FROM hr.employees […]