Hi,
This may sound amateurish, so I apologise for that upfront.
I want to be able to query the number of sessions/connection/processes that are connected to a database on an SQL 2005 Express Edition instance.
In SQL 2000 Enterprise Manager, this information can easily be view, but I don't know how to get to it via a script.
I've been researching for hours, but cannot find a command to use to get me this info.
I would appreciate a push in the right direction.
Cheers,
Jeremy.