Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is there in PL/SQL some facility to get list of files in a directory?

BEDEAug 17 2018 — edited Aug 17 2018

Suppose we have a DIRECTORY in Oracle (that can be seen in ALL_DIRECTORIES). Is there some facility to get the list of files in that directory?

I'd so much like to have a pipelined function that could return the list of files in a directory, preferably with their attributes also.

In 11g utl_file shows nothing that can help. Is there anything in more recent versions of Oracle database?

This post has been answered by Marwim on Aug 17 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 14 2018
Added on Aug 17 2018
4 comments
650 views