透過master查詢MSSQL的連線數
SELECT * FROM sys.sysperfinfo WHERE object_name='SQLServer:General Statistics' AND counter_name='User Connections'
透過master查詢MSSQL的連線數
SELECT * FROM sys.sysperfinfo WHERE object_name='SQLServer:General Statistics' AND counter_name='User Connections'
0 意見:
張貼留言