You need to ensure that if any of the Execute SQL tasks fail, all three tasks will roll back their changes

You are editing a SQL Server Integration Services (SSIS) package that contains three
Execute SQL tasks and no other tasks. The package and all three Execute SQL tasks have
their TransactionOption property set to Supported.
You need to ensure that if any of the Execute SQL tasks fail, all three tasks will roll back
their changes.
What should you do?

You are editing a SQL Server Integration Services (SSIS) package that contains three
Execute SQL tasks and no other tasks. The package and all three Execute SQL tasks have
their TransactionOption property set to Supported.
You need to ensure that if any of the Execute SQL tasks fail, all three tasks will roll back
their changes.
What should you do?

A.
Move the three Execute SQL tasks into a Sequence container.

B.
Move the three Execute SQL tasks into a Foreach Loop container.

C.
Change the TransactionOption property of all three Execute SQL tasks to Required.

D.
Change the TransactionOption property of the package to Required.

Explanation:
Reference:
http://msdn.microsoft.com/en-us/library/ms137749.aspx
http://msdn.microsoft.com/enus/library/microsoft.sqlserver.dts.runtime.dtstransactionoption.aspx



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Jai

Jai

Right answer is ‘A’.
Put tasks in Sequence containe

Jai

Jai

Sorry! ‘D’ is right

sqlninja

sqlninja

D is the right answer.

Ninja

Ninja

I am going for D on this one.

Tesfa

Tesfa

D is correct if we put the three tasks in a sequence container it does not make any difference as the default TransactionOption is supported. But it may work if the Sequence container’s TransactionOption property is changed to Required which is same as D.