trycreate trigger t on usergroup for update
as 
update set groupid=..where MinArticle in(selectt MinArticle from usergroup where MinArticle >=postnum)

解决方案 »

  1.   

    trycreate trigger t on usergroup for update
    as 
    update set groupid=..where MinArticle in(selectt MinArticle from inserted where MinArticle >=postnum)
      

  2.   

    刚看到了你写的第二条,inserted 也能包括Update更新的记录内容?
      

  3.   

    回复人: internetcsdn(公元1979年8月10日) ( ) 信誉:100  2004-04-30 11:29:00  得分:0 
     
     
      trycreate trigger t on usergroup for update
    as 
    update set groupid=..where MinArticle in(selectt MinArticle from usergroup where MinArticle >=postnum)
     
     
    是写错的了