1、update ...
if @@rowcount=0
insert into
2、delete from
insert into
3、if exists(select * from )
update ..
else
insert into
1、update ...
if @@rowcount=0
insert into
2、delete from
insert into
3、if exists(select * from )
update ..
else
insert into