日期:2014-05-18 浏览次数:20389 次
Update [表] set [表].字段=50 from [表] a inner join inserted b on inserted.名字=[表].名字 and inserted.条件=36
------解决方案--------------------
create trigger [pkcount] on [dbo].[Character] for insert,update as begin Update [Character] set [Character].pkcount=50 from [Character] inner join inserted b on b.name=[Character].name and inserted.mapnumber=36