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
 General SQL Server Forums
 New to SQL Server Programming
 How to see when SP was updated

Author  Topic 

AdamWest
Constraint Violating Yak Guru

360 Posts

Posted - 2012-08-01 : 11:21:47
HI I would like to query a database and it would show which
SP's were updated most recently. I can get this by checking properties but have to go into each one to see. Perhaps i can get the list first.

robvolk
Most Valuable Yak

15732 Posts

Posted - 2012-08-01 : 11:38:46
select name, modify_date from sys.procedures order by modify_date desc
Go to Top of Page

AdamWest
Constraint Violating Yak Guru

360 Posts

Posted - 2012-08-01 : 11:40:14
cheers mate, thanks

quote:
Originally posted by robvolk

select name, modify_date from sys.procedures order by modify_date desc

Go to Top of Page
   

- Advertisement -