exec sp_who2 select d.name, d.dbid, spid, login_time, nt_domain, nt_username, loginame from sysprocesses p inner join sysdatabases d on p.dbid = d.dbid where d.name = 'DBNAME'
What's up!
Pyaarey Allah!
Wednesday, August 7, 2013
SQL Lookup logged in users
Unknown
Subscribe to:
Post Comments (Atom)
0 comments: (+add yours?)
Post a Comment