70-465 · Question #101
You create a stored procedure that retrieves all of the rows from a table named Table1. You need to recommend a solution to ensure that all of the statements in the stored procedure can be executed…
The correct answer is A. Snapshot isolation. Once snapshot isolation is enabled, updated row versions for each transaction are maintained in tempdb. A unique transaction sequence number identifies each transaction, and these unique numbers are recorded for each row version. The transaction works with the most recent row…
Question
Options
- ASnapshot isolation
- BA database snapshot
- CFilegroups
- DIndexes
How the community answered
(49 responses)- A71% (35)
- B16% (8)
- C8% (4)
- D4% (2)
Explanation
Once snapshot isolation is enabled, updated row versions for each transaction are maintained in tempdb. A unique transaction sequence number identifies each transaction, and these unique numbers are recorded for each row version. The transaction works with the most recent row versions having a sequence number before the sequence number of the transaction. Newer row versions created after the transaction has begun are ignored by the transaction.
Topics
Community Discussion
No community discussion yet for this question.