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: Open ASCII file from PL/SQL

Re: Open ASCII file from PL/SQL

From: Lun Wing San (Oracle) <wslun_at_qrcsun.qrc.org>
Date: 1997/03/01
Message-ID: <3318E3F1.862@qrcsun.qrc.org>#1/1

Arrasate Sistemas S.L. wrote:
> I need to open an asci file from PL/SQL similar as I can do with
> TEXT_IO.OPEN_FILE.
>
> I want to do something like this:
>
> fichero:=FOPEN('C:\MY_FILE.TXT','W');
> TEXT_IO.PUTLINE(fichero,'HELLO WORLD');
> FCLOSE(fichero);

   If your server is version 7.3x, you can use the package UTL_FILE.

---
Name   : Lun Wing San (Certified Oracle Database Administrator)

Title  : Oracle Application Developer of Hong Kong Productivity Council
         Oracle Database Administrator and System Administrator of QRC
Phone  : (852)27885841

This posting represents the personal opinions of the author. It is not the
official opinion or policy of the author's employer. Warranty expired when you
opened this article and I will not be responsible for its contents or use.
Received on Sat Mar 01 1997 - 00:00:00 CST

Original text of this message

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