Returns a null value if the two specified expressions are equal; otherwise, returns the first expression.
| Restriction: | The BASE file format processes a null value as DOUBLE values in some situations and as a blank string in other situations. For more information, see How FedSQL Processes Nulls and SAS Missing Values. |
specifies any valid SQL expression.
| Data type | All data types are valid. |
| See | <sql-expression> |
| FedSQL Expressions |
update grades
set testscore =
CASE
when testscore = '-1' then null
ELSE testscore
END;