How To See Active Connections In SQL Server - Database Tutorials
In SQL Server, we may sometimes need to check which machine has established a connection and how many connections are being made. In today's article, we will discuss how to view such parameters. For situations like this, you can use the query below. SELECT DB_NAME(database_id) as [DB] , login_name , nt_domain , nt_user_name , status