That code looks good! My only nit to pick, and it's minor since you're raising an exception, is that I think the trigger should be a BEFORE INSERT OR UPDATE trigger.
Thanks, Bill!
That code looks good! My only nit to pick, and it's minor since you're raising an exception, is that I think the trigger should be a BEFORE INSERT OR UPDATE trigger.
Thanks, Bill!