SELECT Email, CASE WHEN CHARINDEX('(',FirstName) > 0 THEN FirstName ELSE (FirstName + ' ' + LastName) END AS Username FROM Person
No comments:
Post a Comment