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: Ramasamy, Baskar <Baskar.Ramasamy_at_calanais.com>
Date: Fri, 13 Jul 2001 02:56:32 -0700
Message-ID: <F001.0034996F.20010713013024@fatcity.com>

you have to put break on report before compute sum

Baskar

-----Original Message-----
Sent: 13 July 2001 09:50
To: Multiple recipients of list ORACLE-L

Andrea Oracle wrote:
>
> 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.
>
> Andrea
>

Yes :

     break on report

--
Regards,

  Stephane Faroult
  Oriole Corporation
------------------------------------------------------------------
http://www.oriolecorp.com, designed by Oracle DBAs for Oracle DBAs
------------------------------------------------------------------
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriolecorp.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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ramasamy, Baskar
  INET: Baskar.Ramasamy_at_calanais.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 Fri Jul 13 2001 - 04:56:32 CDT

Original text of this message

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