SyntaxFix
Write A Post
Hire A Developer
Questions
IF NOT EXISTS (SELECT 1 FROM SYS.COLUMNS WHERE OBJECT_ID = OBJECT_ID(N'[dbo].[Person]') AND name = 'DateOfBirth') BEGIN ALTER TABLE [dbo].[Person] ADD DateOfBirth DATETIME END