This should get you what you need.
select DB_NAME(database_id) as DBName, COUNT(database_id) as NumConnections
From sys.dm_exec_requests
Group by DB_NAME(database_id)
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events