The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

SQL help needed again. by Freakazoid2008-10-01 10:34:22
  You can do net charges (or should be able to) by MatthewDBA2008-10-01 10:42:22
    well, sorta (got it now) by Freakazoid 2008-10-01 10:49:15
(heh: "Where's my mind" just came up on pandora, aka: I shoulda thought of this earlier...)
I tried that first (right after I posted this) and it didn't work
what worked was this:
sum([chrg amt])+sum(adjustments) as 'Net Charges'

for the truly messy, we have the "Net %":
(abs(sum([paid]))/(sum([chrg amt])+sum(adjustments))) * 100
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)