joe_pool_is
Well-known member
We need to display the Employee name as a single "LastName, FirstName" column in our DataGrid.
In the Employee table, these columns are separate:
Is there a way to format an SQL command so that these two columns get merged? Im looking for something like this:
Of course, that doesnt work!
In the Employee table, these columns are separate:
Code:
SELECT LastName, FirstName
FROM dbo.Employee
Code:
SELECT (LastName, ", " FirstName) AS "EmployeeName"
FROM dbo.Employee