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: How to invoke export/import or sql loader?

Re: How to invoke export/import or sql loader?

From: Noons <wizofoz2k_at_yahoo.com.au>
Date: Tue, 16 Mar 2004 00:13:47 +1100
Message-ID: <4055ac42$0$3957$afc38c87@news.optusnet.com.au>


"alederer" <alederer_at_gmx.at> wrote in message news:40559a53_at_e-post.inode.at...

> Is there a possibility to invoke and control the export/import or the
> sql*loader utility via api calls from a c++ application.

You can always call them as external processes using a piped command or system(), standard C/C++ library.

> E.g. in db2 there is the db2api sqluload to control a load of a table.
> Is there a dbms package which can help?

In 9i you don't even need a package: SQL will let you read from a flat file with a SELECT statement.

Writing to a file from PL/SQL requires use of the "utl_file" package.

-- 
Cheers
Nuno Souto
wizofoz2k_at_yahoo.com.au.nospam
Received on Mon Mar 15 2004 - 07:13:47 CST

Original text of this message

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