更新和插入新纪录

1、update ...

     if @@rowcount=0

     insert into

 

2、delete from

     insert into

 

3、if exists(select * from )

      update ..

      else

      insert into

posted @ 2011-12-22 16:20  y0umer  阅读(169)  评论(0编辑  收藏  举报