Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Get active user login details in MS SQL 2008

$
0
0

Hello,

I have a requirement of testing currently logged in users to my server. When I searching on internet I got,

Text
exec sp_who 

which works fine. But it is giving more than required details. My requirement is to status, host name and db name.  How to filter it to get one row per one host ?

Or Is there any other alternatives to my requirement ?


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>