IF NOT EXISTS (SELECT * FROM SYSCOLUMNS INNER JOIN SYSOBJECTS ON SYSOBJECTS.id = SYSCOLUMNS.id 
               WHERE SYSCOLUMNS.NAME = 'ODEMEGELENTARIH' AND SYSOBJECTS.name = 'ODEMEISL')
ALTER TABLE dbo.ODEMEISL ADD ODEMEGELENTARIH datetime NULL
GO