create or replace trigger TIG_USER before update on "USER" for each row begin select sysdate into :new.update_date from dual; exception when others then end;
上面的代码是数据更新前给字段update_date添加为当前时间。
来源:博客园
作者:masha2017
链接:https://www.cnblogs.com/masha2017/p/11480856.html