触发器应用场景二:数据的确认

 触发器应用场景二:数据的确认 create or replace tripper  checksalary before update on emp for each row begin if:new.sal<:old.sal then raise_application_error(-20002,'涨后的薪水不能小于之前的薪水'); end if end :new和:old 其代表同一条记录
相关文章
相关标签/搜索