if not exists (select * from categories where N=8) then insert into Categories(N,Category) values(8,'Студент - подготвителна година') end if; go