En Sql esto funciona y creo que te sirve:
Código:
Select case ISNULL(len(e.Nombre),0)
when 0 then ''
else e.Nombre
end +
case ISNULL(len(d.Nombre),0)
when 0 then ''
else d.Nombre
end +
case ISNULL(len(p.Nombre),0)
when 0 then ''
else p.Nombre
end +
case ISNULL(len(a.Titulo),0)
when 0 then ''
else a.Titulo
end as TOTAL
from TABLA