ReadPast与隔离级别

时间:2020-05-16 12:16:12

标签: sql sql-server

我一直在为考试做准备,在这些考试中,我对以下问题感到困惑。

enter image description here

You need to modify usp_GetOrdersAndItems to ensure that an order is NOT retrieved by usp_GetOrdersAndItems while the order is being updated.
What should you add to usp_getOrdersAndItems?

下面是在多个门户网站中看到的一些答案。

  1. 添加SET事务隔离级别可序列化
  2. 在行尾添加(READPAST)
  3. 添加读取已提交的SET事务隔离级别

我相信答案是readpast查询提示。请让我知道相同的内容。

https://www.briefmenow.org/microsoft/what-should-you-add-to-usp_getordersanditems/

0 个答案:

没有答案