Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection Data
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Divers
Thread ID:
00595461
Message ID:
00595547
Vues:
30
This message has been marked as the solution to the initial question of the thread.
According to the BOL:
@@CONNECTIONS - Returns the number of connections, or attempted connections, since Microsoft® SQL Server™ was last started.

@@MAX_CONNECTIONS - Returns the maximum number of simultaneous user connections allowed on a Microsoft® SQL Server™.

This should give you the number of user connections:

select COUNT(*) from master.dbo.sysprocesses where hostname > ''

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform