Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Stored Procedure Usage

Author  Topic 

jsmith
Starting Member

24 Posts

Posted - 2003-01-15 : 06:52:06
Is there any way to check when an stored procedure was last called?

Thanks in advance if anyone can help.

nr
SQLTeam MVY

12543 Posts

Posted - 2003-01-15 : 06:55:53
Put at the start of the SP an insert into a logging table.
Use the profiler to log calls to the SP.
Otherwise I don't think so.


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -