Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a summary row with totals

Status
Not open for further replies.

Halliarse

IS-IT--Management
Jan 8, 2007
213
GB
Hi

I have the following stored procedure and I need to add a summary line with totals on the following fields:

BTARevenue
DrillRevenue
GRDRevenue
HoneRevenue
Unit1Revenue

The stored procedure is attached.

Any help would be gratefully accepted!

Kind regards

Steve



 
 https://files.engineering.com/getfile.aspx?folder=9c7bede2-95e6-4504-822c-80b6650137f7&file=JobsByDivision.sql
That's really something a report should add or Excel or GRid you use for disaplay and not already the stored procedure.
Don't solve that in the query code.

Bye, Olaf.

Olaf Doschke Software Engineering
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top