Home Forums Data Warehousing Integration Services How to avoid technically the null values while concatenating columns RE: How to avoid technically the null values while concatenating columns

  • sgmunson (5/6/2013)


    The number of fields that can be included in the query's use of ISNULL and NULLIF is not limited to two. You can just keep concatenating an ISNULL function, and then NULLIF the entire concatenation, and thus have as many fields as you need. They just all need to be strings, or alternately, CAST-ed or CONVERT-ed to strings.

    Steve - you sound like you understand the problem - can you explain it, because I still cannot comprehend properly what the issue is? 🙂

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.