IF NOT EXISTS (SELECT * FROM SYSCOLUMNS INNER JOIN SYSOBJECTS ON SYSOBJECTS.id = SYSCOLUMNS.id 
              WHERE SYSCOLUMNS.NAME = 'STOKANAGRUPID' AND SYSOBJECTS.name = 'STOK')
ALTER TABLE STOK ADD STOKANAGRUPID INT  NULL  






