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 2005 Forums
 Transact-SQL (2005)
 Stored procedure last update

Author  Topic 

niranjankumark
Posting Yak Master

164 Posts

Posted - 2008-11-11 : 05:25:53
How to find the last update date of stored procedure?
create date can find ...

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-11-11 : 05:32:07
[code]SELECT LAST_ALTERED FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_NAME ='YourSPnamehere' AND ROUTINE_TYPE='PROCEDURE'[/code]
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-11-11 : 05:38:58
or

select modify_date from sys.procedures where name='YourSPnamehere'
and type='P'


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -