Skriv en lagret procedure som:
create procedure INSERT_OR_UPDATE as
begin
if exists ( select * from Numerations where <your condition> )
begin
update Numerations set < ... > where < ... >
end
else
begin
insert into Numerations values <...>
end
end
Du skal tjekke syntaksen, fordi jeg ikke kan teste min kode lige nu.