看到一个sqlupdatetablesett_idt_idwhere12说是将表锁住,谁能解释一下,谢谢[解决办法]where 12条件为假
看到一个sql
update table set t_id=t_id where 1=2
说是将表锁住 ,谁能解释一下,谢谢
[解决办法]
where 1=2条件为假,都没更新哪有锁.
使用sp_who查看下.
[解决办法]
http://community.csdn.net/Expert/topic/5509/5509908.xml?temp=.5213739
[解决办法]
表再更新时,表都被系统自动锁定的!
