Re: How do we do an ascii dump of a table with a delimiter ?
From: Raghid Ajamoughli <ajamough_at_cle.ab.com>
Date: 1995/05/03
Message-ID: <3o8djo$a13_at_news1.cle.ab.com>#1/1
Date: 1995/05/03
Message-ID: <3o8djo$a13_at_news1.cle.ab.com>#1/1
> Is there a way to dump data from an Oracle table into a flat ASCII with a
> specified delimiter.
>
> I'd appreciate if you can send an email to me.
> thanks
>
> --
> Sharmishta Erabelli serabell_at_eos.hitc.com
> Hughes Applied Information Systems
> 1616A McCormick Drive
> Landover, MD 20785
> Ph: (301)925-0489
you may want to try the following
set pagesize 0
select col1, ',', col2, ',', col3, ',', col4 ...
from your table;
spool off
set linesize 1000
spool filename
this will output the table into filename on your system.
hope this helps
Received on Wed May 03 1995 - 00:00:00 CEST