摘要:
####每秒死锁数量 SELECT * FROM sys.dm_os_performance_counters WHERE counter_name LIKE 'Number of Deadlocksc%'; ####查看当前被阻塞暂停的事务进程 select * from sysprocesses 阅读全文
摘要:
###SQLSERVER-自增ID插入指定数据: set identity_insert 表名 ON --允许对自增列Id插入指定数据 insert into table_name(Id,Name) values(1,'test') set identity_insert 表名 OFF --关闭对自 阅读全文