how to know simultaneous connected count to a Database?
Thank youTo determine the number of current user database connections:
SELECT COUNT(*)
FROM master..sysprocesses
WHERE
spid > 50 AND
dbid = DB_ID('MyDatabase')
Hope this helps.
Dan Guzman
SQL Server MVP
"Asking" <asking@.ispro.net.tr> wrote in message
news:OSvVy06NGHA.3272@.tk2msftngp13.phx.gbl...
> how to know simultaneous connected count to a Database?
> Thank you
>
Friday, February 24, 2012
how to know simultaneous connected count to a Database?
Labels:
connected,
database,
databasethank,
microsoft,
mysql,
oracle,
server,
simultaneous,
sql
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment