Hi,
I was trying to retrieve some data in such a way that it 2 columns will
be merged into one, with a column in between. I am trying to do
something like this:
SELECT LastName + ", " + FirstName AS Name
FROM EmployeeTBL
ORDER BY LastName
But SQL Server does not like this syntax (though it does work with
"LastName + FirstName").
I appreciate any help.
Thanks,
Aaron
I was trying to retrieve some data in such a way that it 2 columns will
be merged into one, with a column in between. I am trying to do
something like this:
SELECT LastName + ", " + FirstName AS Name
FROM EmployeeTBL
ORDER BY LastName
But SQL Server does not like this syntax (though it does work with
"LastName + FirstName").
I appreciate any help.
Thanks,
Aaron
Comment