Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. DECLARE @DISCOUNT_PRICE numeric(9,2) = '436.63'
  2. DECLARE @PRICE numeric(9,2) = '1.2'
  3. select CAST((((@DISCOUNT_PRICE*100)/@PRICE) -100 ) AS NUMERIC(5,2))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement