Personalmente, non avvio mai una nuova transazione se sono già dentro una. Questa singola abitudine aggira la maggior parte dei mal di testa legati a stored procedure annidate, transazioni distribuite e TransactionScope.
E c'è una cosa che vale la pena ricordare: SQL Server non ha affatto una cosa come le transazioni annidate.
DECLARE @StartTranCount int BEGIN TRY SET @StartTranCount = @@TRANCOUNT IF @StartTranCount = 0 BEGIN TRAN -- my code IF @StartTranCount = 0 COMMIT TRAN END TRY BEGIN CATCH IF @StartTranCount = 0 AND @@trancount > 0 BEGIN ROLLBACK TRAN DECLARE @message NVARCHAR(MAX) DECLARE @state INT SELECT @message = ERROR_MESSAGE(), @state = ERROR_STATE() RAISERROR (@message, 11, @state) END /* or just IF @StartTranCount = 0 AND @@trancount ROLLBACK TRAN */ END CATCH