我的触发器突然停止工作。它工作正常,现在只工作了一半。触发器正在连接我为其编码的特定列,但现在对于其中一列(自动增量 PK),它只是将该列输出为零,但其他一切都很好。
create trigger insert_trigger
before insert on bids
for each row
set new.opportunity = concat(new.dueDate," - ",new.serialNumber," - ",new.organization," - ",new.description);
create trigger update_trigger
before update on bids
for each row
set new.opportunity = concat(new.dueDate," - ",new.serialNumber," - ",new.organization," - ",new.description);
我不知道问题可能是什么。有什么建议么?