Microsoft
Software
Hardware
Network
Question : Find last time a stored procedure was used
I am using SQL Server 2005 and I have about 250 stored procedures which have been made over the years. Only about 150 of these are actually being used. The problem is, there are so many that I can't possible go through the whole application and find which stored procs are really being used... Is it possible to query sql server and find all stored procedures that have been used in the last 6 months? I would like to delete the rest...
Thanks,
Br
Answer : Find last time a stored procedure was used
Hi,
you can add some code to each of your procedures which writes off the last execution time of procedure to another table.
Random Solutions
Microsoft Exchange 2007 32 bit Product Key
How to Extract gZip Base64 encoded Data
Exchange 2010 on a Domain Controller
How do I retrieve text from a website
Rename file with previous weekday's date as the file name
group by and sum function in SQL
Cisco 1760 router has 2 flash
Access 2003 to Word 2003: quest 2: where can i put these 2 lines of code, bec. now it's giving me an error
Changing the IP address of a NT4 PDC
How to create a nested SUMIF in Excel / Google Docs