拜求兄弟们,谁能告诉我怎么样,实现行级锁?[解决办法]比如表table id1的行要锁.那么update table set id
拜求
兄弟们,谁能告诉我怎么样,实现行级锁?
[解决办法]
比如表table id=1的行要锁.
那么update table set id = id where id = 1
[解决办法]
select * from table with(rowlock) where ....
拜求
兄弟们,谁能告诉我怎么样,实现行级锁?
[解决办法]
比如表table id=1的行要锁.
那么update table set id = id where id = 1
[解决办法]
select * from table with(rowlock) where ....