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

Home -> Community -> Mailing Lists -> Oracle-L -> Suppress/Override sql+ compute functions message

Suppress/Override sql+ compute functions message

From: Palani K R <palani_at_WSLVAX1.WIPSYS.SOFT.NET>
Date: Sun, 19 Mar 1995 15:55:57 -0500
Message-Id: <9503192307.AA28847@alice.jcc.com>


Hi Netters,

I have an SQL*Plus script with

    "COMPUTE SUM OF INV_AMOUNT ON SOURC REPORT" The above statement is to have a subtotal break on source (field) and grand total at the end of the report. In the output, it shows "sum" label in both the places. It is not meaning in the user side. Ofcourse programmers can understand it. Instead I want to print my own label "Subtotal" and "Grand total" in the above said places. By this time, some one of you would have faced the same problem. So, How will you suppress/override the computational functions label in SQL*PLUS.

E.g

SOURC COMP.INV INV Date INV AMOUNT

-----  --------  ---------  --------------------
CMS    0740352A  13-JAN-94             $2,838.38
CMS    0740501A  17-JAN-94             $1,533.48
CMS    0740711A  20-JAN-94            $54,386.57
CMS    0740725A  20-JAN-94             $5,278.84
*****                       --------------------
sum                                   $64,037.27    (suppose to be subtotal)

DBS    01915213  28-JAN-94               $232.00
DBS    01915217  28-JAN-94               $243.60
DBS    05819803  13-JAN-94               $426.40

--------------------
sum $901.00 (suppose to be subtotal)
--------------------
sum $64,938.27 (suppose to be Grandtotal)

Any help is appreciated.

Cheers,
palani_at_wslvax1.wipsys.soft.net Received on Sun Mar 19 1995 - 18:07:06 CST

Original text of this message

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