if (not exists(select id from Handles where Id=6)) then insert into Handles(id,"name","driver","options",CanBeDest) values(6,'My SQL','MySQL','',0) end if go