Hi how can i rewrite this trigger from oracle to sql server?
CREATE OR REPLACE TRIGGER COUNTER
BEFORE INSERT OR UPDATE OF some_column ON my_table
FOR EACH ROW
BEGIN
:NEW.My_counter := :NEW.My_counter+1;
:NEW.value := :NEW.value+1;
END;
Thanks for the help.