follow-up case statement to the one i just had... now i want to know the difference between... but ls.principal_balance is a numeric and cma_as_is_value is varchar... i tried the CONVERT(numeric function but it will not work...,case when (ls.principal_balance - msp3.cma_as_is_value) > 1 and msp3.cma_as_is_value is not null then ls.principal_balance - msp3.cma_as_is_value when (ls.principal_balance - ls.purchase_value) > 1 then ls.principal_balance - ls.purchase_value else '' end as Negative_Equity_Amount
error: Msg 8114, Level 16, State 5, Line 1Error converting data type varchar to numeric.