Which Transact-SQL statement should you include at the beginning of the stored procedure?

You are writing a set of queries against a FILESTREAM-enabled database. You create a stored procedure that
will update multiple tables within a transaction. You need to ensure that if the stored procedure raises a run-time error, the entire transaction is terminated and rolled back. Which Transact-SQL statement should you
include at the beginning of the stored procedure?

You are writing a set of queries against a FILESTREAM-enabled database. You create a stored procedure that
will update multiple tables within a transaction. You need to ensure that if the stored procedure raises a run-time error, the entire transaction is terminated and rolled back. Which Transact-SQL statement should you
include at the beginning of the stored procedure?

A.
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE

B.
SET XACT_ABORT OFF

C.
SET TRANSACTION ISOLATION LEVEL SNAPSHOT

D.
SET IMPLICIT_TRANSACTIONS ON

E.
SET XACT_ABORT ON

F.
SET IMPLICIT TRANSACTIONS OFF

Explanation:
Verified answer as correct.
Reference: http://msdn.microsoft.com/en-us/library/ms188792.aspx



Leave a Reply 7

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


Click here

Click here

I liked up to you’ll obtain carried out right here. The sketch is attractive, your authored material stylish. nevertheless, you command get bought an shakiness over that you wish be handing over the following. unwell certainly come more in the past once more since precisely the similar just about a lot ceaselessly inside of case you protect this hike.

http://kayleighnorx915.livejournal.com/4531.html

Eli Revelo

Eli Revelo

I¡¦ve been exploring for a little bit for any high-quality articles or blog posts in this sort of house . Exploring in Yahoo I finally stumbled upon this web site. Reading this info So i am happy to convey that I’ve an incredibly good uncanny feeling I came upon exactly what I needed. I most indisputably will make sure to don¡¦t disregard this site and give it a look on a continuing basis.

http://www.ZQQcROwEaQ.com/ZQQcROwEaQ