DELETE COMPUTATION deletes the named computed fields from the report.
Syntax:
┌────────────────┐ ►►─── DELete COMputation ─┬─▼- compute-name ─┴─┬──────────────────────────────►◄ └─ ALL ──────────────┘
Parameters:
Specifies the name of the computed field to be deleted.
Specifies that all computed fields be deleted.
Example:
This example operates on the report created and modified by the following SELECT and COMPUTE statements:
select emp-id-0415, salary-amount-0420
from employee, emposition where emp-emposition !
compute 'average salary' = avg(salary-amount-0420) group by all !
display
EMP-ID-0415 SALARY-AMOUNT-0420
1204 25000
1140 23000
0145 35000
0532 30000
===========
AVERAGE SALARY: 28250
To delete the computed field AVERAGE SALARY:
delete computation 'average salary' ! display
EMP-ID-0415 SALARY-AMOUNT-0420
1204 25000
1140 23000
0145 35000
0532 30000
|
Copyright © 2013 CA.
All rights reserved.
|
|