Is there a way to find out when a database was last accessed on SQL Server 2000? By this I mean, had a table read, a stored procedure called etc…
I have a list of databases and I am trying to find out which databases are still needed or not.
I'm not sure sp_who2.LastBatch
will give me the result I need.
Best Answer
There is no way in SQL 2000 - as it does not support any DMV's introduced in sql server 2005.
Your best bet is to use an AUDIT trace or run server side trace.
Note: depending on what you are capturing, it will be resource intensive and might end up filling up your disk space as well.
EDIT:
@rhughes
Refer to this para in the link :