摘要:
1.查看哪个表死锁 select object_name(resource_associated_entity_id) as tableName, request_session_id as pid from sys.dm_tran_locks where resource_type = 'OBJE 阅读全文
摘要:
缘由:进行update时忘了加where条件,导致所有数据全部update。。 sql: 1 update Activity set endTime=b.endTime from idj_tl_bf.dbo.Activity as b where activity.ID=b.ID 补充一个sql s 阅读全文