mysql update触发器 A表(ID,StockID,StockName),ID为子增加;B表(StockID ,Money ,****);现在想更新A表中的StockID,怎样才能做到B表中对应的StockID也更新呢?谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 触发器:B表跟A表怎么关联的?要不然你更新它的哪条记录呢?delimiter //create trigger after_a_update after update on Afor each rowbegin update B set StockID=new.StockID where 关联....end 有没有办法实现这样的伪静态规则? zend studio 快捷键 PHP提取字段里的img标签 PHP 有时候出现"数据无效 "不知道是什么原因? 如何精通CSS? select语句加了索引条件过滤,执行效率反而比全表扫描更慢,这是怎么回事? 留言版纠错 在 preg_match_all 中如何使用“非双引号”[^"] 在线视频播放系统(请高手指点,顺便散点分) str_replace与preg_replace有什么区别? gzip: stdin: invalid compressed data--crc error PHP验证码问题
B表跟A表怎么关联的?要不然你更新它的哪条记录呢?delimiter //
create trigger after_a_update after update on A
for each row
begin
update B set StockID=new.StockID where 关联....
end