Firstly, if any of the fields being concatenated 'contains' null, the resultant string is null, so it may me useful to coalesce the fields first (i.e. change Null to Space).
Secondly, it could be useful to RTRIM the fields to remove any trailing spaces ion each element, and then to put one space back as was suggested.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.