Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Open ASCII file from PL/SQL
In article <331211A0.34D8_at_arrakis.es>, "Arrasate Sistemas S.L." <arrasis_at_arrakis.es> wrote:
> Hello:
>
> Does anybody know how can I open an asci file from PL/SQL ?
>
> 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);
>
> The file would content:
>
> HELLO WORLD<EOL>
> <EOF>
Hi Clemen,
You can use DBMS_PIPES to pass the info to an applicationserver that takes care for the filehandling.
Cheers,
Ronald.
![]() |
![]() |