---insert触发器中
update A 
 set col1 = b.col1,col2=b.col2,.... from A,inserted B ---更新字段 
  where A.id=B.id----连接条件