I have a stored procedure that does a simple calculation based on a case statement.
When I run the query in the query window the calculation returns the correct value. However, When I execute the stored procedure in the query window the procedure returns a null value