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

Home -> Community -> Usenet -> c.d.o.misc -> Re: NEWBIES UNLOAD TO

Re: NEWBIES UNLOAD TO

From: Sybrand Bakker <postmaster_at_sybrandb.demon.nl>
Date: Mon, 6 Dec 1999 21:07:49 +0100
Message-ID: <944510911.6276.0.pluto.d4ee154e@news.demon.nl>


set colsep '|' trimspool on
select name, city, zipcode from tt;

You are saying your records don't end in CR/LF. That's highly unlikely. I will try to reproduce tomorrow.

Hth,

--
Sybrand Bakker, Oracle DBA
didier_t <didier_t_at_wanadoo.fr> wrote in message news:82h3bv$e3v$1_at_wanadoo.fr...
> > Please, i want create the function informix unload to in oracle.
> > Example : unload to "toto.txt"
> > select name[1,32],city,zipcode from tt;
> > This code not functionnal the end of string is bad
> > set linesize 150
> > spool toto.txt
> > select name||'|'||city||'|'||zipcode||'|'|| from tt;
> > spool off
> >
> > Thanks
> >
> > i want
> aaaaa|ny|5454|
> |bbbb|nn|6455|
> and i have
> aaaaa|ny|5454|space space space
> bbbb|nn|6455|space space space
> AND this record finished without 0Dh 0Ah
>
> exactly i want an function for create
> text delimited with | .
> excuse me my english i'm french
>
>
>
>
Received on Mon Dec 06 1999 - 14:07:49 CST

Original text of this message

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