tags:

views:

3001

answers:

3

In Oracle, there's a view called V$SESSION that lists all active sessions in database. Is there any similar view in SQL Server 2005?

+1  A: 

See this answer.

Mitch Wheat
+1  A: 

select * from sys.sysprocesses

can be used instead of v$session in oracle

http://silverlightedworld.blogspot.com/2009/04/vsession-for-oracle-and-sql-server.html

Regards Renju www.renjucool.co.nr

A: 

Plain old sp_who.

Gavin Schultz-Ohkubo