【发布时间】:2019-05-28 20:44:15
【问题描述】:
我创建了一个页面,想在 Oracle APEX 中导入 excel 文件,但是当我选择存储类型来保存临时数据时,我看不到表 WWV_FLOW_FILES,那么我该如何查找它???
【问题讨论】:
标签: oracle oracle-apex
我创建了一个页面,想在 Oracle APEX 中导入 excel 文件,但是当我选择存储类型来保存临时数据时,我看不到表 WWV_FLOW_FILES,那么我该如何查找它???
【问题讨论】:
标签: oracle oracle-apex
您没有说要对电子表格做什么 - 将数据加载到数据库中或在文件上传后处理文件。此外,始终指示软件版本。
你看到了吗:http://dba-oracle.com/t_easy_html_db_storing_files_in_html_db.htm 和 https://www.foxinfotech.in/2013/05/importing-files-in-oracle-apex-using-wwv_flow_files.html
你读过docs吗?
> There are two different types of storage types available within the
> File Browse item type:
>
> BLOB column specific in Item Source Attribute - Completely declarative approach that supports configuration of the additional
> settings discussed here. This references a BLOB in your own database
> table.
>
> Table WWV_FLOW_FILES - Available for backwards compatibility. Oracle does not recommend using this in new applications.
Table APEX_APPLICATION_TEMP_FILES - Store the uploaded file in a temporary location that you can access with the view APEX_APPLICATION_TEMP_FILES. Oracle Application Express automatically deletes the file at the end of the session or at the end of the upload request, depending on what you choose for Purge File At.
注意: 目的是您上传文件,然后在上传后使用 PL/SQL 对其进行处理。从视图访问它:APEX_APPLICATION_TEMP_FILES
或者网上的其他教程,比如:https://jeffkemponoracle.com/2016/08/file-upload-improvements-in-apex-5-1/基本上是文件上传到一个临时表,上传后做进一步处理。 其他链接:How do you import data from your excel spreadsheet to ORACLE APEX?、https://community.oracle.com/thread/1022147
【讨论】: