What should I use to join two or more strings together? Append (,) or Concatenate (||) ?
A question I have been asked a few times, is it better to use append (,) or concatenate (||) to join two strings together?
The quick answer is what result do you expect if one of the operands is NULL. With concatenation (||), if one of the operands is NULL then the result will be NULL as well. So for a quick test, note difference in output of ...
However the answer I like to give back is that are you aware that there is a 3rd option?, that is the SFMT operator. IMHO this leads to code that is easier to read.
Read more at
https://4js.com/ask-reuben/ig-3/