Home Forums SQL Server 2005 T-SQL (SS2K5) Find out if a database is being used and how much RE: Find out if a database is being used and how much

  • I don't think there is one that tracks connections historically. If you really don't want to run Profiler, you might try running queries against sys.dm_exec_query_stats and see if any queries have been run against the database in question. That's about the best that I know of.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning