daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT SUM(CAST(yourcolumn AS DECIMAL(10, 2)))
  2. FROM yourtable
  3.    
  4. select sum(cast(qty as DECIMAL(10, 2)))
  5. from inventory i
  6. where i.refDocNum = 485
  7.   and i.refApp = 'WO'
  8.   and i.type in (20, 21)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top