案例:使用伪记录,在eml表中若是更新员工的工资,要求使用触发器 达到 工资只能增长不能下降

--案例:使用伪记录,在eml表中若是更新员工的工资,要求使用触发器 达到 工资只能增长不能下降 create or replace trigger update_emp before update on emp for each row begin   if (:new.sal < :old.sal) then       :new.sal := :old.sal;     end if; en
相关文章
相关标签/搜索