create or replace trigger userinfo_trigger
before update on userinfo for each row
begin
:new.modify_time := to_char(sysdate,'YYYYMMDDHH24MISS');
end;
userinfo: is the table name
modify_time: fields that need to be automatically updated to perform update