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: [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: Ramasamy, Baskar
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).