Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to browse folders in PL/SQL

RE: How to browse folders in PL/SQL

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Tue, 11 May 2004 11:25:33 -0400
Message-ID: <A186CBDC8B1D61438BC50F1A77E91F73075BD7C9@xchgbrsm1.corp.espn.pvt>


Isn't JAVA supposed to be platform independent as well?? And NO there is no way in pl/sql.

Raj



--------=20

Rajendra dot Jamadagni at nospamespn dot com=20 All Views expressed in this email are strictly personal.=20 select standard_disclaimer from company_requirements;=20 QOTD: Any clod can have facts, having an opinion is an art !

-----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



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

-----------------------------------------------------------------
Received on Tue May 11 2004 - 10:24:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US