Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The list of current users
Message
De
31/01/2003 08:53:23
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00747552
Message ID:
00747628
Vues:
19
Yes. If you run sp_lock, you'll see that each connection has a SHARED DATABASE lock on the database that the connection is within the context of. You'll have to query the master..syslockinfo table and only pull those locks.

-Mike

>Hi All.
>Is there a way to obtain the list of users who currently USE a certain database?
>We run MS SQL 2000.
>Thanks
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform