如果同一张表(recycle_center)的字段有任何插入或更新,我想更新表的image_updated_at
字段。我试过这个::recycle_center
image_url
CREATE OR REPLACE TRIGGER my_trigger
AFTER INSERT OR UPDATE OF image_url ON recycle_center
BEGIN
UPDATE recycle_center SET image_updated_at=NOW()
WHERE old.id=new.id
END
但是,它显示一条错误消息。怎么解决??