--测试表
create table a(cid int,i int )
insert a
select 1,10 union all
select 3,12
create table b(cid int )
insert b
select 1 union all
select 2--
create trigger tr_name on a
for update
as
update b
set 语句
from a,b where a.cid=b.cid
drop table a,b
create table a(cid int,i int )
insert a
select 1,10 union all
select 3,12
create table b(cid int )
insert b
select 1 union all
select 2--
create trigger tr_name on a
for update
as
update b
set 语句
from a,b where a.cid=b.cid
drop table a,b
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货