If I create a before insert/update trigger I know how to do something like this.
CREATE TRIGGER upd_check BEFORE INSERT ON def_servpath_0001_weatherstation FOR E