使用 PL/SQL 列出指定目录中的文件 [英] Listing files in a specified directory using PL/SQL
本文介绍了使用 PL/SQL 列出指定目录中的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以仅使用 PL/SQL 获取存储在指定目录中的所有文件(及其扩展名)的列表?(不使用 Java 程序和其他花哨的东西.只是简单的 PL/SQL 代码)
Is it possible to get a list of all files (and their extensions) that are stored in a specified directory using only PL/SQL? (without using Java procedures and other fancy things. Just plain PL/SQL code)
附言如果可能,请告诉我该怎么做:)
P.S. If it is possible, please tell me how to do that :)
推荐答案
这对于普通的 PL/SQL 而没有 Java 是不可能的.您可以使用调度程序作业来创建目录列表:请参阅 https://stackoverflow.com/a/16845563/802058
This is not possible with plain PL/SQL but without Java. You can use a scheduler job for creating a directory listing: See https://stackoverflow.com/a/16845563/802058
这篇关于使用 PL/SQL 列出指定目录中的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文