• Sorry, trying to do a few things but overall

    declare @insertednif and @deletednif

    select via select

    if insertednif <> deletednif

    begin

    rollback

    return

    end