I have 5 fields that return a mixture of values ββand NULLS. For reporting purposes, I need to replace any potential NULLS with a value. The interrogation database I update every night through the SSIS package.
Obviously, I will need to modify the .dtsx file to stop the NULLS going through every day by adding some SQL.
My question is:
What is the most efficient way to work with these NULLS in terms of performance. So far, ive has identified COALESCE and CASE to deal with them, and im leaned towards COALESCE because my alternative to NULL will not change, but I would be interested to hear if and why this would be the most efficient method.
source share