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: Total at the end of a report

RE: Total at the end of a report

From: Cale, Rick T (Richard) <RICHARD.T.CALE_at_saic.com>
Date: Wed, 28 Jun 2000 11:54:30 -0700
Message-Id: <10542.110697@fatcity.com>


Try
break on report on server on instance_name instead

Rick

> -----Original Message-----
> From: Smith, Ron L. [SMTP:rlsmith_at_kmg.com]
> Sent: Wednesday, June 28, 2000 1:30 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Total at the end of a report
>
> Can anyone tell me why I don't get a total at the end of this report?
>
> set verify off
> set pagesize 55
> set linesize 132
> spool highwater2.txt
> break on server on instance_name on report
> compute sum of username on report
> select server Server, instance_name, max(username) Max_Users
> from
> (select distinct sample_date, server, instance_name, count(*)
> username
> from km_highwater group by server, instance_name,
> sample_date)
> group by server, instance_name;
> spool off;
> exit;
>
>
>
> --
> Author: Smith, Ron L.
> INET: rlsmith_at_kmg.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 Wed Jun 28 2000 - 13:54:30 CDT

Original text of this message

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