27,579
社区成员
发帖
与我相关
我的任务
分享
create procedure py_vmk_isto @rowcnt int
as
begin
begin tran whole
if @rowcnt > 0
begin
begin tran insto
............
execute @rc = py_vmk_isto @rowcnt
...........
commit tran insto
end
begin tran miss
commit tran miss
commit tran whole
return @rowcnt
error:
rollback tran
return -1
end