1、错误详细信息【表数据量大修改表结构、数据库保持数据不变性会锁住表,出现如下错误】
2、打开对应数据库新建查询
①、查询出超时会话Id
SELECT request_session_id spid,OBJECT_NAME (resource_associated_entity_id)tableName FROM sys.dm_tran_locks WHERE resource_type='OBJECT '
②、kill掉线程
kill spid