IF NOT EXISTS (SELECT * FROM SYSCOLUMNS INNER JOIN SYSOBJECTS ON SYSOBJECTS.id = SYSCOLUMNS.id 
              WHERE SYSCOLUMNS.NAME = 'DOSYAYOLU' AND SYSOBJECTS.name = 'HBELGEGORUNTU')
ALTER TABLE HBELGEGORUNTU ADD DOSYAYOLU VARCHAR(1000)
GO