Eriovaldo,

Try this...

Select Col1 || Chr(10) || Col2 || Chr(10) || Col3 || Chr(10)
|| Col4 As TheList From Table;

Results...

THELIST
-------------------
Value of Col1
Value of Col2
Value of Col3
Value of Col4

Jack

--------------------------------
Jack C. Applewhite
Database Administrator/Developer
OCP Oracle8 DBA
iNetProfit, Inc.
Austin, Texas
www.iNetProfit.com
[EMAIL PROTECTED]


-----Original Message-----
Eriovaldo do Carmo Andrietta
Sent: Wednesday, March 21, 2001 12:03 PM
To: Multiple recipients of list ORACLE-L


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: Jack C. Applewhite
  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