Even though I know that others are connected to the database, a script like
only shows myself, and not the other users. Any suggestions?
Code:
select DB_NAME(dbid) as 'Database', loginame as LoginName
FROM sys.sysprocesses WHERE DB_NAME(dbid) ='myDatabase'