Re: How can I know?
From: Andrew J. Kelly (sqlmvpnooospam_at_shadhawk.com)
Date: 02/24/05
- Next message: Daniel Wilson: "Re: Permissions on stored procedures & tables"
- Previous message: hui: "How can I know?"
- In reply to: hui: "How can I know?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 24 Feb 2005 09:01:51 -0500
You can run sp_who2 and count the ones in the specific db. Or you can run a
select against master..sysprocesses and filter on the correct DBID.
-- Andrew J. Kelly SQL MVP "hui" <jxmu_lhf71@163.com> wrote in message news:ODVQAhnGFHA.2280@TK2MSFTNGP15.phx.gbl... >I wanna know how I could know how many users or who are logging into some > database. > > thanks in advance > >
- Next message: Daniel Wilson: "Re: Permissions on stored procedures & tables"
- Previous message: hui: "How can I know?"
- In reply to: hui: "How can I know?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|