如何在Oracle APEX中选择“存储类型为WWV_FLOW_FILES”?

时间:2019-01-02 06:48:10

标签: oracle oracle-apex

我创建了一个页面,并想在Oracle APEX中导入excel文件,但是当我选择“存储类型”以保存临时数据时,我看不到表 WWV_FLOW_FILES ,因此我该如何查找它吗?

enter image description here

1 个答案:

答案 0 :(得分:1)

您没有说要使用电子表格做什么-将数据加载到数据库中或在文件上传后对其进行处理。另外,请始终指出软件版本。

您看到过以下内容:http://dba-oracle.com/t_easy_html_db_storing_files_in_html_db.htmhttps://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