Skriv en lagrad procedur 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 måste kontrollera syntaxen eftersom jag inte kan testa min kod just nu.