Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL and input files
On Sat, 23 May 1998 19:59:17 -0400, "Kevin Bass"
<akil1_at_mindspring.com> wrote:
>Is it possible to read the data from an input file into a PL/SQL block?. An
>example would like a file with the format of:
>
>123456789 Doe John
>987654321 Doe Jane
>
>Could this data be read into a PL/SQL block and used within the block?
>
>
>Kevin
Hi Kevin,
the UTL_FILE package on the server side and the TEXT_IO package in the client side (ie Oracle Forms) are those that can do this job. But this will require some programming to parse the file format, eg to parse and seperate the fields in a logical record.
HTH
Peter
--
Peter Schneider
peter.schneider_at_okay.net
Received on Sun May 24 1998 - 10:07:18 CDT