Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to browse folders in PL/SQL
Isn't JAVA supposed to be platform independent as well?? And NO there is
no way in pl/sql.
Raj
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Srinivasan Vasan
Sent: Tuesday, May 11, 2004 11:13 AM
To: 'oracle-l_at_freelists.org'
Subject: How to browse folders in PL/SQL
Hi! All,
Is there a way to find all the files in a directory/folder within PL/SQL (9.2.0.5) without using external procedure calls? Ideally, I want to loop through all the files in the directory performing some operation on each file.
I can, of course, do this in UNIX by writing a shell script to generate the SQL to call the process for each file, but a pure PL/SQL implementation would be more elegant and would be platform independent. For the time being, I am using a Java procedure (courtesy Tom Kyte).
Cheers,=20
Vasan.=20
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Tue May 11 2004 - 10:24:30 CDT
-----------------------------------------------------------------
![]() |
![]() |