Aug 18, 2017 #1 PeDa Technical User Oct 10, 2002 227 NL Even though I know that others are connected to the database, a script like Code: select DB_NAME(dbid) as 'Database', loginame as LoginName FROM sys.sysprocesses WHERE DB_NAME(dbid) ='myDatabase' only shows myself, and not the other users. Any suggestions?
Even though I know that others are connected to the database, a script like Code: select DB_NAME(dbid) as 'Database', loginame as LoginName FROM sys.sysprocesses WHERE DB_NAME(dbid) ='myDatabase' only shows myself, and not the other users. Any suggestions?
Aug 18, 2017 #2 bborissov Programmer May 3, 2005 5,167 BG sp_who sp_who2 ? Borislav Borissov VFP9 SP2, SQL Server Upvote 0 Downvote
Aug 18, 2017 Thread starter #3 PeDa Technical User Oct 10, 2002 227 NL Thank you; unfortunately sp_who and sp_who2 yield the same result as my script: only me Upvote 0 Downvote
Aug 18, 2017 #4 bborissov Programmer May 3, 2005 5,167 BG Than you don';t have permissions https://social.msdn.microsoft.com/F...ons-in-a-contained-database?forum=transactsql Borislav Borissov VFP9 SP2, SQL Server Upvote 0 Downvote
Than you don';t have permissions https://social.msdn.microsoft.com/F...ons-in-a-contained-database?forum=transactsql Borislav Borissov VFP9 SP2, SQL Server
Aug 18, 2017 Thread starter #5 PeDa Technical User Oct 10, 2002 227 NL Thank you. I was beginning to fear this. I shall see if the IT-department will GRANT VIEW SERVER STATE to me. Upvote 0 Downvote
Thank you. I was beginning to fear this. I shall see if the IT-department will GRANT VIEW SERVER STATE to me.