IF NOT EXISTS (SELECT * FROM SYSCOLUMNS INNER JOIN SYSOBJECTS ON SYSOBJECTS.id = SYSCOLUMNS.id 
               WHERE SYSCOLUMNS.NAME = 'NUMUNETURID' AND SYSOBJECTS.name = 'HTETKIKDETAY')
ALTER TABLE dbo.HTETKIKDETAY 
	ADD NUMUNETURID int null
GO