Hello Everyone,
Note I can not enable Distributed Transaction Coordinator in my environment. Is it possible to use Execute SQL Task to control Transactions in a Master Package? For example, I want to have:
BEGIN TRAN -> Package 1 -> COMMIT TRAN ->
BEGIN TRAN -> Package 2 -> COMMIT TRAN ->
BEGIN TRAN -> Package 3 -> COMMIT TRAN
w/ all Package Failure Pipelines set to Logical OR and going to ROLLBACK TRAN
I have set the Packages and Master Package to use RetainSameConnection: True . However, the Master Package is failing on the COMMIT TRAN with Error: The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.
I’m looking for a way to execute each Package, however if any Task within a Package fails I want the last Package to rollback and no other Packages get executed. What would be the correct way to set this up? Many thanks for your wisdom.