事务处理
begin transaction
insert into ...
save transaction first /*事务保留点*/
insert into ...
if @@error <> 0 rollback transaction first
insert into ...
if @@error <> 0 rollback transaction first
insert into ...
if @@error <> 0 rollback transaction first
commit transaction