sqlServer查看锁表并解锁select request_session_id spid -- 进程ID,OBJECT_NAME(resource_associated_entity_id) tableName -- 表/视图&nb...