mysql触发器

查看所有触发器 show TRIGGERS

 

DELIMITER ;;

CREATE TRIGGER `trigger1触发器名` BEFORE UPDATE ON `触发器所在表名` FOR EACH ROW insert into templete (old) values (NEW.bz)
;;
DELIMITER ;
DELIMITER ;;
CREATE TRIGGER `trigger1触发器名` AFTER UPDATE ON `触发器所在表名` FOR EACH ROW insert into templete (old) values (Old.bz)
;;

DELIMITER ;

mysql触发器,布布扣,bubuko.com

mysql触发器

上一篇:Flink cdc自定义format格式数据源


下一篇:秋色园网站转移过程记录篇