Hi, I'm creating a stored procedure. I have 2 columns, forename and surname.
I'm able to combine them using this statement;
REPLACE(dbo.Employee.Forename, ' ', '') + ' ' + REPLACE(dbo.Employee.Surname, ' ', '') AS EmployeeFullName
If I wanted to search by the EmployeeFullName, how would I do that?
WHERE EmployeeFullName = @Name