求救,嵌套事务问题>没有找到任何该名称的事务或保存点
begin tran a
select * from template where tmp_code='1'
BEGIN TRANSACTION temp;exec sp_r_g 59564
ROLLBACK TRANSACTION temp;
update template set tmp_code='10' where tmp_code='1'
commit tran a
执行以上得sql,出错:
无法回滚 temp。没有找到任何该名称的事务或保存点。