ScottPletcher (9/24/2012)
Agreed.For example:
ALTER TABLE dbo.tablename
DROP COLUMN Full_Name;
ALTER TABLE dbo.tablename
ADD Full_Name AS CAST(ISNULL(F_Name + ' ', '') + ISNULL(Lname, '') AS varchar(100))
-- change 100 to whatever max length you want for the column
It would take a little more space but I recommend adding the PERSISTED hint.
--Jeff Moden
Change is inevitable... Change for the better is not.