CREATE OR REPLACE TRIGGER a_fin_hx
after update of sfs on a_yfd
FOR EACH ROW
DECLARE
s_date varchar2(30);
--pragma autonomous_transaction;
BEGIN  select trunc(sysdate) into s_date from dual;
  update a_yfd set thsj=s_date where lsh=:old.lsh;--commit;
END a_fin_hx;以上是触发器的内容
然后执行
update a_yfd set sfs=1 where lsh=119087 句,提示update a_yfd set thsj=s_date where lsh=:old.lsh;这一句有错,像这样的问题如何解决了!
期待着大侠们的指导!