使用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.如果可以的话,请告诉我该怎么做:)
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屋!
查看全文