Click here to Skip to main content
15,885,980 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
We starting to get a lot of stored procedures in our application. Many of them are for custom reports many of which are no longer used. Does anyone know of a query we could run on the system views in SQL Server 2005 that would tell us the last date a stored procedure was executed?
Posted

1 solution

There's nothing built in, but this CodeProject article may help:

Audit Trail Generator for Microsoft SQL[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900