I have say a table, the columns of which will contain integer value but i am not sure if they may contain NULL too. Now lets say I want to add the integers, (along with any NULL) to get the result as an integer even when any column in between is NULL.
I am aware of the ISNULL() function and COALESCE() function. But i would prefer not to use any of these. Nor i want to use CASE. I know that CASE would do what i want, but I am looking for something more better.
Just like we have CONCAT_NULL_YIELDS_NULL to ensure that when a string is concatenated to a null value, the result is not null.
I want something similar to this option. Thanks in advance.