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
aspx/c# looping through data from within body
IME (Japanese) for Office 2007
SQL SERVER 2008 service not starting
WSUS 3.0 server motherboard
How to start an application from a .Bat file and then upload files
Design a Query to subtract a record value from previous record value
Form update in Access 2007
Simple (I think) but Urgent: Copy (XCopy?) files from multiple subdirectories into one directory
Reading dBase files with attached MDX via ADO.NET
Windows 7 32 bit vs 64 bit