1. <legend id='ak8E3'><style id='ak8E3'><dir id='ak8E3'><q id='ak8E3'></q></dir></style></legend>

      1. <small id='ak8E3'></small><noframes id='ak8E3'>

          <bdo id='ak8E3'></bdo><ul id='ak8E3'></ul>
        <i id='ak8E3'><tr id='ak8E3'><dt id='ak8E3'><q id='ak8E3'><span id='ak8E3'><b id='ak8E3'><form id='ak8E3'><ins id='ak8E3'></ins><ul id='ak8E3'></ul><sub id='ak8E3'></sub></form><legend id='ak8E3'></legend><bdo id='ak8E3'><pre id='ak8E3'><center id='ak8E3'></center></pre></bdo></b><th id='ak8E3'></th></span></q></dt></tr></i><div id='ak8E3'><tfoot id='ak8E3'></tfoot><dl id='ak8E3'><fieldset id='ak8E3'></fieldset></dl></div>
        <tfoot id='ak8E3'></tfoot>

        Oracle 到 Excel - PL/SQL 导出程序

        Oracle to Excel - PL/SQL export procedure(Oracle 到 Excel - PL/SQL 导出程序)

              <bdo id='KPDFk'></bdo><ul id='KPDFk'></ul>
            • <legend id='KPDFk'><style id='KPDFk'><dir id='KPDFk'><q id='KPDFk'></q></dir></style></legend>
                <tbody id='KPDFk'></tbody>
              <tfoot id='KPDFk'></tfoot>

            • <i id='KPDFk'><tr id='KPDFk'><dt id='KPDFk'><q id='KPDFk'><span id='KPDFk'><b id='KPDFk'><form id='KPDFk'><ins id='KPDFk'></ins><ul id='KPDFk'></ul><sub id='KPDFk'></sub></form><legend id='KPDFk'></legend><bdo id='KPDFk'><pre id='KPDFk'><center id='KPDFk'></center></pre></bdo></b><th id='KPDFk'></th></span></q></dt></tr></i><div id='KPDFk'><tfoot id='KPDFk'></tfoot><dl id='KPDFk'><fieldset id='KPDFk'></fieldset></dl></div>

                1. <small id='KPDFk'></small><noframes id='KPDFk'>

                  本文介绍了Oracle 到 Excel - PL/SQL 导出程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在编写将数据从 Oracle 导出到 Excel 的 pl/sql 过程.我需要数据格式,所以我不能使用 CSV.我已经尝试过使用 XML,但是当我想导出时它会生成太大的文件,例如70000 行 50 列(几乎 300 MB!!!).

                  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 when I want to export e.g. 70000 rows with 50 columns (almost 300 MB!!!).

                  这就是我决定使用 HTML 标签生成 XLS 文件的原因——它比 XML 小,我必须直接定义一些特殊列的格式(字符串、数字和日期由 Excel 自动格式化).非常简单方便,但我不能定义多个工作表.

                  That’s why I decided to use HTML tags to generate XLS file – it is smaller than XML and I must directly define format of only some special columns (strings, numbers and dates are formatted automatically by Excel). It’s very simple and convenient but I can’t define more than one worksheet.

                  您知道如何在使用 HTML 编写的 Excel 文件中添加/定义多个工作表吗?我试过使用像 <% ActiveWorkbook.Worksheet.Add %> 这样的 VBScript 公式,但它不起作用.

                  Do you know how to add/define more than one worksheet in excel file written using HTML? I’ve tried to use VBScript formula like <% ActiveWorkbook.Worksheet.Add %>, but it doesn’t work.

                  推荐答案

                  您可以通过 ODBC 或 OLEDB 将 Oracle 数据提取到现有 Excel 文档中,而不是在 Oracle 服务器上创建 Excel 或 HTML 文件.缺点是,你应该小心用户权限.

                  Instead of creating Excel or HTML files on Oracle server, you can fetch Oracle data to existing Excel document via ODBC or OLEDB. The shortcoming is, that you should be careful with user permissions.

                  https://www.youtube.com/watch?v=Adz0zZFePf8

                  这篇关于Oracle 到 Excel - PL/SQL 导出程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Why Mysql#39;s Group By and Oracle#39;s Group by behaviours are different(为什么 Mysql 的 Group By 和 Oracle 的 Group by 行为不同)
                  Creating a flattened table/view of a hierarchically-defined set of data(创建分层定义的数据集的扁平表/视图)
                  MySQL: how to do row-level security (like Oracle#39;s Virtual Private Database)?(MySQL:如何做到行级安全(如 Oracle 的 Virtual Private Database)?)
                  What is the best way to enforce a #39;subset#39; relationship with integrity constraints(强制执行具有完整性约束的“子集关系的最佳方法是什么)
                  Split String by delimiter position using oracle SQL(使用 oracle SQL 按分隔符位置拆分字符串)
                  How to unfold the results of an Oracle query based on the value of a column(如何根据列的值展开Oracle查询的结果)
                  <i id='DGOSm'><tr id='DGOSm'><dt id='DGOSm'><q id='DGOSm'><span id='DGOSm'><b id='DGOSm'><form id='DGOSm'><ins id='DGOSm'></ins><ul id='DGOSm'></ul><sub id='DGOSm'></sub></form><legend id='DGOSm'></legend><bdo id='DGOSm'><pre id='DGOSm'><center id='DGOSm'></center></pre></bdo></b><th id='DGOSm'></th></span></q></dt></tr></i><div id='DGOSm'><tfoot id='DGOSm'></tfoot><dl id='DGOSm'><fieldset id='DGOSm'></fieldset></dl></div>

                    <tbody id='DGOSm'></tbody>

                    <bdo id='DGOSm'></bdo><ul id='DGOSm'></ul>
                            <legend id='DGOSm'><style id='DGOSm'><dir id='DGOSm'><q id='DGOSm'></q></dir></style></legend>
                          1. <tfoot id='DGOSm'></tfoot>

                            <small id='DGOSm'></small><noframes id='DGOSm'>