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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Download data from oracle tables to flat file

Re: Download data from oracle tables to flat file

From: Andy Duncan <andy_j_duncan_at_yahoo.com>
Date: Thu, 4 May 2000 14:45:42 -0700 (PDT)
Message-Id: <10487.105022@fatcity.com>


Hi Balasubramanian,

> Is there any way to unload the data to flat file other than using
> spool on
> select * from <table_name>
> For very large table having thousands of rows, the above technique will be
> very slower.
> Is there any other way i can unload the data from the tables faster ?
> Any kinf of help is appreciated.

Try Perl DBI.
=> http://www.symbolstone.org/technology/perl/DBI/index.html => http://forteviot.symbolstone.org/cgi/dbi/moduledump?module=DBD::Oracle

Does the trick for me.

Alternatively, you could write a Pro*C-OCI C program for really super-fast access, or a PL/SQL compiled routine, easier to program, probably a bit slower than OCI?

HTH! :-) rgds,
ad.



The Perl Database
=> http://www.perldb.com/

Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger. Received on Thu May 04 2000 - 16:45:42 CDT

Original text of this message

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