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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Easy Doubt in sql/plus

RE: Easy Doubt in sql/plus

From: Montero, German Dario <GMontero_at_uniFON.com.ar>
Date: Wed, 21 Mar 2001 10:57:10 -0800
Message-ID: <F001.002D3906.20010321102045@fatcity.com>

Probe this.

SQL> set pages 0
SQL> set feed off
SQL> set head off
SQL> set linesize 1000
SQL> set trims on
SQL> r
  1  select cod_estado || chr(10) ||

  2         des_estado
  3* from co_estados
CO
CORRECTO
AV
AVISADO
SS
SUSPENDIDO
EJ
EN PROCESO EXTRAJUDICIAL
PJ
EN PROCESO JUDICIAL
DI
DEUDOR INCOBRABLE
CF
CUENTA FINAL bye.

gmon.

-----Mensaje original-----
De: Eriovaldo do Carmo Andrietta [mailto:eca_at_widesoft.com.br] Enviado el: Miercoles 21 de Marzo de 2001 15: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: eca_at_widesoft.com.br


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: ListGuru_at_fatcity.com (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).
Received on Wed Mar 21 2001 - 12:57:10 CST

Original text of this message

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