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

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

How to browse folders in PL/SQL

From: Srinivasan Vasan <Vasan.Srinivasan_at_churchill.com>
Date: Tue, 11 May 2004 16:13:12 +0100
Message-ID: <4661DD1EF5C4EF4B9D2BCE3A3E52EF3304C31B40@brcexm04.churchill.com>


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,

Vasan.  


This email and any attached to it are confidential and intended only for the individual or entity to which it is addressed. If you are not the intended recipient, please let us know by telephoning or emailing the sender. You should also delete the email and any attachment from your systems and should not copy the email or any attachment or disclose their content to any other person or entity. The views expressed here are not necessarily those of Churchill Insurance Group plc or its affiliates or subsidiaries. Thank you.

Churchill Insurance Group plc. Company Registration Number - 2280426. England.

Registered Office: Churchill Court, Westmoreland Road, Bromley, Kent BR1 1DP.



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:15:19 CDT

Original text of this message

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