mysql触发器
来源:互联网 发布:centos7 ssh 端口 编辑:程序博客网 时间:2024/06/05 10:36
delimiter ||
create TRIGGER t_after_insert_on_news_msg
after insert on news_msg
for each row
begin
insert into news_read (owner_id,`status`) values (new.owner_id, 1) on duplicate key update status = 1;
end ||
create TRIGGER t_after_insert_on_news_msg
after insert on news_msg
for each row
begin
insert into news_read (owner_id,`status`) values (new.owner_id, 1) on duplicate key update status = 1;
end ||
0 0
- 【mysql 触发器】触发器使用
- MYSQL 触发器
- mysql 触发器
- Mysql 触发器
- mysql 触发器
- mysql触发器
- MYSQL 触发器
- MySQL触发器
- mysql 触发器
- mysql触发器
- MYSQL 触发器
- mysql 触发器
- mysql 触发器
- MySQL触发器
- MYSQL触发器
- mysql触发器
- mysql触发器
- mysql触发器
- 你如何对网站的文件和资源进行优化?
- JS操作SVG模拟水滴分离、融合效果
- 关于android从入门到精通4.1.9范例1出现的闪退的问题
- 原型设计模型(深拷贝浅拷贝)
- Activity intent intent filter 广播接收器的区别
- mysql触发器
- 欢迎使用CSDN-markdown编辑器
- C# 类和结构的区别
- LocalBroadcastManager
- UIBezierPath精讲
- Java SE、Java EE、Java ME 简介
- POJ 1741|BZOJ 1468|Tree|树分治
- C 语言--字符串操作函数--笔记(1)
- [3752]:Is the one been second-killed first?