Related to this question: Executing a stored procedure inside BEGIN/END TRANSACTION
I am calling my stored procedure via BizTalk. Because BizTalk is creating a TRANSACTION my stored procedure has no TRANSACTION handling. However, I have to call another stored procedure within the one called by BizTalk. BUT the second stored procedure is called against another database within the same MSSQL Instance.
Is MS SQL aware of this cross database procedure call and does a rollback of the second stored procedure as well?
What happens if:
- The cross db stored procedure fails?
- The outer stored procedure fails AFTER the cross db stored procedure has been called?