I am a SQL Database Admin and curious about is it possible to check Application pool site status remotely from DB server?
Is there any way (e.g. SSIS package or SQL script) that I can get the result in table or file?
Thanks in advance
I am a SQL Database Admin and curious about is it possible to check Application pool site status remotely from DB server?
Is there any way (e.g. SSIS package or SQL script) that I can get the result in table or file?
Thanks in advance
Execute SQL query in SQL server management studio as below :
SELECT DB_NAME(dbid), COUNT(dbid) AS NoOfConnections, loginame
FROM sys.sysprocesses
WHERE dbid > 0
GROUP BY dbid, loginame