Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Can sql*loader read from pipes?
On Fri, 30 May 1997 13:52:05 GMT, Gerhard.Moeller_at_OFFIS.Uni-Oldenburg.de (Gerhard Moeller) wrote:
>Hi,
>
>I have a perl script that generates lots of data that I wish to copy
>into an Oracle table. I seem to cannot use INSERT as the data is too
>long (> 2000 characters). An idea would be to output the data on
>stdout (or any socket) and have SQL*Loader reading from stdin (or any
>socket). Can that be done?
>
It can easily use a named pipe on unix....
$ mknod data.dat p $ cat stuff > data.dat & $ sqlldr .... data=data.dat>--
> Thanks for your help, Gerhard.
Thomas Kyte
tkyte_at_us.oracle.com
Oracle Government
Bethesda MD
http://govt.us.oracle.com/ -- downloadable utilities
![]() |
![]() |