IF NOT EXISTS (SELECT * FROM SYSCOLUMNS INNER JOIN SYSOBJECTS ON SYSOBJECTS.id = SYSCOLUMNS.id 
               WHERE SYSCOLUMNS.NAME = 'ENDIKASYONID' AND SYSOBJECTS.name = 'HKANBILESENIISTEM')
ALTER TABLE dbo.HKANBILESENIISTEM ADD ENDIKASYONID nvarchar(5) NULL
go
