SQL Tips #9 - Listing Stored Procedures by Change Date


Monday, 2 January 2017

When you want to know what changed recently on a database, listing stored procedures by their modification date is a quick first check.

The Query

SELECT [name], create_date, modify_date
FROM sys.objects
WHERE type = 'P'  
ORDER BY 3 DESC;

Disclaimer

These queries are provided as a guide, and are by no means perfect. I didn't write all of these - many are collated from MSDN documentation and community sources over the years.

Tags

SQL, Programming
Share with: 

Useful SQL tips - how to list all stored procedures ordered by the date they were last changed


Support this Site

Buy me a coffee

Developer Courses

Pluralsight - Hardcore Developer and IT Training
Skype Web SDK: Getting Started
Skype Web SDK: Audio & Video

Popular Articles

What is Kutamo?
Kilimanjaro Climb
Kilimanjaro 2015
Kilimanjaro 2013
Australian Postcodes
New Zealand Postcodes
Worldwide City Database

Favourite Links

Kilimanjaro Climbs
Kutamo Studios
Kutamo Meetings
Litzi
ErrLog.IO
Kutamo

Tags / Keywords

SQL, Programming