Related Posts Plugin for WordPress, Blogger...

About

Follow Us

Thursday, 16 April 2015

Introduction: 

In this article I will explain how to get stored procedure’s last modified date in 
SQL server 2008.

Following query is used to get stored procedures last modified date:

SELECT name, create_date, modify_date FROM sys.objects WHERE type = 'P'

Result: 


















Get specific procedure modified date:

SELECT name, create_date, modify_date FROM sys.objects WHERE type = 'P' AND name like 'DeleteEmployee'


Result:





0 comments:

Post a Comment