Home Forums SQL Server 7,2000 T-SQL String Concatenation with Nulls and Spaces RE: String Concatenation with Nulls and Spaces

  • How about this?

    select Ltrim(Isnull(first_name,'') + ' ') +

             Ltrim(Isnull(middle_name,'') + ' ') +

             Ltrim(Isnull(last_name,'') + ' ') +

             Ltrim(Isnull(suffix,'')) as FullName