|
Thread: SUM
-
Nov 15th, 1999, 05:39 PM
#1
Thread Starter
Member
hi guys, u use sum to add up numeric but how do u add up string(DIAGDESC). I have this multiple rows of records which are being group into one record. But I cannot add up the fields which contain string into one field group into one record.
The code :
select SUM(DIAGDESC), Format(sum(bmk),'######0.00') as total from export_ar GROUP BY CLAIMNO, Vend_ID, fromdatesvc, dept, hpcode, invoice_no, MEM_ID, MEM_NAME, daterecd order by CLAIMNO asc
What other command can i use?? Thks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|