Having a weird problem selecting session variables which are changed by a stored procedure.
call calculate("input1", "input2",@price);
select @price; /*price is 2.00*/
call calculate("anotherinput","anotherinput2",@price);
select @price; /*price is 3.00*/
However, the answer I get is actually 2 3.00's rather than the 2.00 then the 3.00. Assuming it's getting overwritten and messing it all up. But what's the best way to go about this?