SQL Stored Procedure

SQL – Find Last Modified Stored Procedure or Function

http://hickscountry.com/media/hayride-video-shoot-2-2/feed/ In this post, we will look into some of the useful SQL Queries.
Following SQL Query will be really helpful to find last modified stored procedure or function.

go SELECT name, create_date, modify_date
FROM sys.objects
WHERE type = ‘P’ or type = ‘fn’ or type IN (‘FN’, ‘IF’, ‘TF’);

enter If you want to show last changed item at first use Order By with modified_date desc,

go SELECT name,create_date,
FROM    sys.tables
ORDER BY modify_date DESC;