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: new to oracle...HELP!

Re: new to oracle...HELP!

From: <karsten_schmidt8891_at_my-deja.com>
Date: Wed, 05 Jan 2000 13:49:00 GMT
Message-ID: <84vi47$rfr$1@nnrp1.deja.com>


Hi,
 your best bet is to use sqlplus,
 write a sql query that spits out the format you want,  and spool the result to a file.

 example:

SQL> spool /tmp/my_file

SQL> select col1||';'||col2 ... from mytab;

.....

SQL> spool off

depending on what you want, you might need to play with 'set linesize', 'set heading', 'set arraysize', 'set pagesize' etc.

HTH Karsten

In article <84uhbs$4qf$1_at_nnrp1.deja.com>,   sayoni_at_my-deja.com wrote:
> hi gurus,
> coming from a sybase background i am at a loss trying to figure out a
> way to export data to a file. I was wondering if there is any way to
> provide a column and a row delimiter when exporting the data out from
a
> table into the file. any help much appreciated.
> tia.
> sayoni
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Jan 05 2000 - 07:49:00 CST

Original text of this message

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