Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Open ASCII file from PL/SQL
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
![]() |
![]() |