在SQL Server中使用(Rowlock)和With(Nolock) [英] with(Rowlock) and With(Nolock) in sql server

查看:697
本文介绍了在SQL Server中使用(Rowlock)和With(Nolock)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

- sql中rowlock和nolock之间的主要区别是什么?



我们什么时候应该使用它?

解决方案

我们不做你的作业:它是有原因的。它就是为了让你思考你被告知的事情,并试着理解它。它也在那里,以便您的导师可以识别您身体虚弱的区域,并将更多的注意力集中在补救措施上。



一个非常简单的谷歌将为您提供大量信息: https://www.google.co.uk/search?q=difference+between+rowlock+和+ nolock + in + sql [ ^ ]

--What is the main difference between rowlock and nolock in sql ?

When should we use this ?

解决方案

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

A very simple google will give you loads of information: https://www.google.co.uk/search?q=difference+between+rowlock+and+nolock+in+sql[^]


这篇关于在SQL Server中使用(Rowlock)和With(Nolock)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆