or this messy way:

select 
column1 || chr(10)
|| column2 || chr(10)
|| column3 || chr(10
.....
|| column99
/

chr(10) is a return command

>>> [EMAIL PROTECTED] 03/21/01 01:20PM >>>
With subqueries.

Regards.

> -----Mensaje original-----
> De:   Eriovaldo do Carmo Andrietta [SMTP:[EMAIL PROTECTED]] 
> Enviado el:   miércoles 21 de marzo de 2001 19:03
> Para: Multiple recipients of list ORACLE-L
> Asunto:       Easy Doubt in sql/plus 
> 
> Hi Friends :
> 
> How can I do for put each column in new line using sql/plus
> 
> Example :
> 
> Select * from tab;
> 
> and the result sould be :
> 
> 'value of column1'
> 'value of column2'
> 'value of column3'
> 'value of column4'
> 'value of column5'
> 
> and not
> 
> 'value of column1' 'value of column2' 'value of column3' 'value of
> column4'
> 'value of column5'
> 
> Thanks
> 
> Eriovaldo
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com 
> -- 
> Author: Eriovaldo do Carmo Andrietta
>   INET: [EMAIL PROTECTED] 
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
--
Author: Trassens, Christian
  INET: [EMAIL PROTECTED] 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Tim Sawmiller
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to