sqlserver查询数据库状态SQL

--连接数 SELECT count(0) as ConnectCount from sys.dm_exec_connections --死锁数量 select cntr_value from sys.dm_os_performance_counters where counter_name = '
posted @ 2023-10-31 10:52  博客YS  阅读(56)  评论(0编辑  收藏  举报