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 -> Help: COPY in SQL*Plus

Help: COPY in SQL*Plus

From: Niek Kerkemeijer <Niek.Kerkemeijer_at_nob.nl>
Date: Mon, 19 Apr 1999 15:42:46 +0200
Message-ID: <371B32D6.388D@nob.nl>


Hi,

The COPY command in Oracle is a command implemented in SQL*Plus. I need to execute the COPY command from a Perl-script. This does not work, unless I say something like:

        system('echo "COPY FROM....."|sqlplus -s username/password');

The problem is that it is not possible to get a return-code if something went wrong within sqlplus. The only return-code to get is the one of the operating-system.

Is there a PL/SQL package which executes the COPY command? Or does someone have a better idea?

Kind regards,

Niek Kerkemeijer. Received on Mon Apr 19 1999 - 08:42:46 CDT

Original text of this message

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