Question : Store COMPUTE in variable?

Dear Experts,

Is it possible to store the COMPUTE value in a variable for later usage?

SELECT employee_name, hours_done
FROM work_done
GROUP BY employee_name
COMPUTE SUM( hours_done )

Answer : Store COMPUTE in variable?

No, it's a reporting feature.
Besides, it has been deprecated in favour of ROLLUP.
Random Solutions  
 
programming4us programming4us