Home Forums SQL Server 2005 SQL Server 2005 General Discussion using sys.dm_exec_sessions , where to find database name/id RE: using sys.dm_exec_sessions , where to find database name/id
Mark Shvarts 1
SSCertifiable
Points: 5702
More actions
May 1, 2007 at 11:24 am
#703624
Correction: you should use db_name(dbid), not object_name