Re: Creating a delimited text file with SQL*Plus / PL/SQL
From: Sanjay D.S. <sanjay_at_fsg.prusec.com>
Date: 1996/03/25
Message-ID: <4j76mt$e6n_at_prufire4.prusec.com>#1/1
Date: 1996/03/25
Message-ID: <4j76mt$e6n_at_prufire4.prusec.com>#1/1
Ter Bear <t_porter_at_ix.netcom.com> wrote:
> All I need is all fields, one
>row per line, each field separated by a | (or comma, or whatever).
>
set space 0;
set feedback off;
set pagesize 0;
set heading off;
spool file_name;
select column_1||','||colun_2||','||column_3|| from table_name;
spool off;
try it out.
- sanjay d.s.