NullWhenNumeric
Returns null when the number equals compareToValue, otherwise returns the number.
Numeric NullWhenNumeric(Numeric value, Numeric compareToValue)
SELECT NullWhenNumeric(5, 5) as A, NullWhenNumeric(5, 6) as B FROM SingleSELECT NullWhenNumeric(5, 5) as A, NullWhenNumeric(5, 6) as B FROM Single