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
Loop thru controls in from header
Chunk rows of records into 64K blocks and create .xls files..
MS Office 2007 Security on Windows 2008 Terminal Server
Windows 2008 Terminal Services
How do I find and delete data in excel using a list of data?
Acer Aspire 3500 Laptop - Can I delete a Partition and increase main Drive Partition
Creating Add/Edit forms for levels of BOM assemblies in Access
How do I release unused space from a single table in SQL Server?
Outlook 2007: How to build a custom button on Client Outlook ribbon to add a message to the blocked sender list, and move the message to the hidden message box
Network Access: Allow anonymous SID/Name translation reg key?