日期:2014-05-18  浏览次数:20425 次

拜求
兄弟们,谁能告诉我怎么样,实现行级锁?

------解决方案--------------------
比如表table id=1的行要锁.
那么update table set id = id where id = 1
------解决方案--------------------
select * from table with(rowlock) where ....