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

Home -> Community -> Usenet -> c.d.o.misc -> Re: delete file from PL/SQL

Re: delete file from PL/SQL

From: Daniel Morgan <dmorgan_at_exesolutions.com>
Date: Thu, 16 May 2002 16:32:04 GMT
Message-ID: <3CE3DEFF.336E2CA1@exesolutions.com>


famuz wrote:

> Hello,
>
> I have a fairly simple problem, or at least that's what I thought initially.
> I'm running Oracle 8.1.6 on Windows NT. I'm reading an ASCII
> file from the UTL_DIR and when I'm done reading, I would like to
> delete the file. The only way I've found to work so far is to use the
> dbms_backup_restore.deletefile procedure. The drawback is that
> the full file path is needed. The file itself always has the same file name.
>
> I've been using Google Groups to search newsgroups for answers
> and/or examples, to no avail. I've seen things such as pipes and
> external procedures mentioned, but I still don't know how any of
> these can be of use.
>
> What would be the best way to solve this problem?
>
> Greetings,
>
> Toine Beijers

SQLJ (Java). There is no way to do this within UTL_FILE or PL/SQL.

Daniel Morgan Received on Thu May 16 2002 - 11:32:04 CDT

Original text of this message

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