乐观锁
悲观锁
悲观锁解决方案:
select @count=count from tb WITH(UPDLOCK)
资料
https://www.cnblogs.com/dengshaojun/p/3955826.html
悲观锁解决方案:
select @count=count from tb WITH(UPDLOCK)
https://www.cnblogs.com/dengshaojun/p/3955826.html
转载于:https://www.cnblogs.com/cnki/p/8461649.html