Advertisement

10.12.2008 at 09:32AM PDT, ID: 23807836 | Points: 500
[x]
Attachment Details

Using Unix Command for Looking  for a file in PL/SQL

Asked by Swanktek in Unix Systems Programming, Oracle 10.x

Tags:

HI-
  I have a scenario where I would have to read a file from a directory using UTS_FILE in PL/SQL of extension ".xml", I could use UTL_FILE.FOPEN(.............................), but the requirement is not to specify the file name explicilty but do something like ' FILE_NAME="*.xml" '  as there would be only one xml file in the directory at point of time. I would have done it as a unix Script but the requirement is to write PL/SQL Procedure which Opens the file and does some operations on it.

Can some one point to me of how this can be accomplished in PL/SQLas the matter is very urgent for me quick response is greatly appreciated.
Start Free Trial
[+][-]10.12.2008 at 10:48PM PDT, ID: 22700328

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.13.2008 at 06:56AM PDT, ID: 22702426

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.13.2008 at 07:03AM PDT, ID: 22702490

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628