文章分类 -  数据库

摘要:【MySQL触发器】当一个表发生插入或更新时,将数据同步到另一张表中 tbl_slope:发生更新的表, checkupdates:更新后插入数据的表 CREATE trigger updatetbl_slope AFTER update-- 表示触发器是在激活它的语句之后触发 on tbl_slo 阅读全文
posted @ 2022-01-29 12:47 mikadong 阅读(60) 评论(0) 推荐(0) 编辑
摘要:Trick: massage a Group_Concat() result on the csv string into an Insert...Values... string: drop table if exists t; create table t( txt text ); insert 阅读全文
posted @ 2022-01-29 12:26 mikadong 阅读(147) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示