5 Replies Latest reply: Jun 12, 2017 12:53 PM by George Fischetti RSS

    Combining Name Fields

    George Fischetti

      Hi Everyone,  I have First Name and Last Name in two separate fields and would like to combine them into FullName.


      I have just tried this action and am receiving an error message, the name fields are the same data type, unsure why this happened???


      Any help is appreciated.   Is is the load statement from my script and I was trying to do the combination on the fly.


      SQL##f - SqlState: 37000, ErrorCode: 402, ErrorMsg: [Microsoft][ODBC SQL Server Driver][SQL Server]The data types nvarchar and varchar are incompatible in the '&' operator.









        "EMPE_FRST_NM" & ' ' & "EMPE_LST_NM" as "CitiFullName",