Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Starting SQL Loader from PL/SQL

Re: Starting SQL Loader from PL/SQL

From: Lisa McGrath <lmcgrath_at_uwsa.edu>
Date: Thu, 13 Sep 2001 17:09:42 +0000
Message-ID: <3BA0E856.7E7C946F@uwsa.edu>


Allan Martin wrote:

> Does anyone know how to start SQL Loader from a PL/SQL script. I know the
> syntax for running it in DOS, but I'd like to start it from a pl/sql script.
> Is there anyway of starting a program from pl/sql as it would be the same as
> that. Maybe a call to a Java class or something would be the only way to do
> it.
>
> Again, any advice would be great.
>
> Thanks,
> Allan Martin

Allan,

We start SQL Loader (on UNIX) from a PL/SQL script using an Oracle supplied package called DAEMON. We use daemon to invoke a UNIX script, which in turn calls SQL LOADER. You might be able to use the same package to call a dos batch file which would invoke loader.

HTH,
Lisa

--
Lisa McGrath

Lmcgrath_at_uwsa.edu
Received on Thu Sep 13 2001 - 12:09:42 CDT

Original text of this message

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