Is it possible to find out when a Stored Procedure was last accessed?
I tried the following:
SELECT *
FROM sys.dm_db_index_usage_stats
WHERE [database_id] = DB_ID()
AND [object_id] = OBJECT_ID('stored procedure name')
and it returns a blank resultset.
I believe this is possible should the sproc still be in the procedure cache on the server at which point you can query sys.dm_exec_query_stats.
After that you are down to logging and tracing I’m afraid.