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