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 -> Comma separated file

Comma separated file

From: Murty Adavi <adavi_at_attbi.com>
Date: Mon, 15 Jul 2002 23:25:38 GMT
Message-ID: <SRIY8.51055$uw.28021@rwcrnsc51.ops.asp.att.net>


Given a table, is there any way of extracting the data and create a Comma-separated ASCII text file ?
I tried using the following .....

SQLPLUS > SPOOL TEST.DAT
> set pagesize 0
> select COLA || ',' || COLB || ',' || COLC from
TEST_TAB ...but I am sure there should be a better way of doing this as this method doesn't properly get
some of the datatypes like DATE, CLOB, etc.

Thanks
Murty Received on Mon Jul 15 2002 - 18:25:38 CDT

Original text of this message

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