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: sqlplus question ???

RE: sqlplus question ???

From: Vergara, Michael (TEM) <mvergara_at_guidant.com>
Date: Thu, 12 Jul 2001 15:52:03 -0700
Message-ID: <F001.00349518.20010712160524@fatcity.com>

Andrea:

You need to ad 'break on report', as in

set pagesize 999
Set linesize 100
Col file_name format a50
Col bytes format 999,999,999,999
compute sum of bytes on report

break on report                       <====== Here!
select file_name, bytes from dba_data_files order by file_name;

HTH,
Mike

---
===========================================================================
Michael P. Vergara              | I've got a PBS mind in an MTV world
Oracle DBA                      |
Guidant Corporation             |


-----Original Message-----
Sent: Thursday, July 12, 2001 4:46 PM
To: Multiple recipients of list ORACLE-L


Hi all,

I have these in sqlplus:
set pagesize 999
Set linesize 100
Col file_name format a50
Col bytes format 999,999,999,999
compute sum of bytes on report
select file_name, bytes from dba_data_files order by
file_name;

The query returns all the data files back, but it did
NOT show the sum of the bytes.  Is there anything I
forgot to set?  Thank you.


--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Vergara, Michael (TEM) INET: mvergara_at_guidant.com 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 Thu Jul 12 2001 - 17:52:03 CDT

Original text of this message

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