Is there a way to replace "null" values in a result table with a string like "Empty"? Similarly, can we generalize this to replacing a given string or output type with a replacement?
E.g. Original result:
Dog Cat Other
1 1 0 5
2 5 6 null
3 45 8 4
New result after replacement:
Dog Cat Other
1 1 0 5
2 5 6 N/A
3 45 8 4
Where N/A is the new string.
Clarification:
I am not looking to update the actual data in the table. I only want the printed query result to replace the null values.
Coalesce([Other], 'N/A')If it is something other than a string datatype, you can also doCoalesce(Str([Other]), 'N/A')SELECTquery?Othercolumn to string. Should be done in your application.