Hi, I have 2 columns with "name" and "surname" I want to return a result with the two concatenated.
but I have a problem, the surname column accept null values and when it's the case the concatenation is null.. I would like in this case just to have the NAME
here is code:
SELECT
c.ID_CONT,
c.ID_TYPE_CONTACT,
c.ID_PARAM_CENTRE,
c.FONCTION_CONT,
c.MEMO_CONT,
c.VISIBLE_CONT,
c.NAME_CONT +' '+c.SURNAME_CONT as NAMESURNAME
FROM dbo.CONTACT c
It's works when Surname is blank or fulled..
Tx a lot..