select * from sys.dm_exec_connections
Returns information about the connections established to this instance of SQL Server and the details of each connection.
select * from sys.dm_exec_sessions
Returns information about the authenticated sessions on SQL Server.
select * from sys.dm_exec_requests
Returns information about each request that is executing within SQL Server.
No comments:
Post a Comment