|
How do I assign the selected UNIT_PRICE AS OLD_UNITPRICE to the local variable?
(comments are locked)
|
|
Try encapsulating just the result that you want when assigning, like the following Thank you for responding SirSQL. I was hoping to multiply @OLD_UNITPRICE * @QTY @QTY is a variable that is part of a cursor. Is this posible with encapsulation?
Aug 14 '12 at 05:45 AM
technette
Just add a second statement, SET @OLD_UNITPRICE = @OLD_UNITPRICE * @QTY;
Aug 14 '12 at 10:34 AM
Grant Fritchey ♦♦
(comments are locked)
|

