Home Forums SQL Server 2005 Administering Command to know no of users connected to particular database? RE: Command to know no of users connected to particular database?

  • Hi Koti,

    Can you try this

    select * from sys.sysprocesses where spid >50 and dbid= dbid