如果sqlserver数据表中,因为某条记录被锁,整个表数据查不出来,可以使用以下sql: select * from sys.dm_tran_locks where resource_type='库名' 查看一下,让DBA帮忙删掉。