If you’re working on a numeric/integer column and decided to substitute null values with zero, there’s a straight forward function that solves the issue.
The function is ZEROIFNULL. This accepts a single argument and replaces the null values with zero if there is any.
Let’s implement this function on integer and decimal columns.
2 comments