dbTalk Databases Forums  

Client Database Access/Opened Status

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Client Database Access/Opened Status in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Scott
 
Posts: n/a

Default Client Database Access/Opened Status - 02-07-2007 , 03:32 PM






Is there a way to tell if a SQL database is currently being accessed by any
clients? Is it possible to see which clients/users are currently accessing a
SQL database?

Thanks,

Scott

Reply With Quote
  #2  
Old   
Sue Hoegemeier
 
Posts: n/a

Default Re: Client Database Access/Opened Status - 02-07-2007 , 09:13 PM






You can query sysprocesses, execute sp_who2. On SQL Server
2005, you can query sys.dm_exec_sessions and
sys.dm_exec_connections.

-Sue

On Wed, 7 Feb 2007 13:32:26 -0800, Scott
<Scott (AT) discussions (DOT) microsoft.com> wrote:

Quote:
Is there a way to tell if a SQL database is currently being accessed by any
clients? Is it possible to see which clients/users are currently accessing a
SQL database?

Thanks,

Scott


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.