How can I quickly identify most recently modified stored procedures in SQL Server

后端 未结 7 687
我寻月下人不归
我寻月下人不归 2021-01-31 04:03

I Need to manually migrate modified stored procedures from a DEV SQL Server 2005 database instance to a TEST instance. Except for the changes I\'m migrating, the databases have

7条回答
  •  醉酒成梦
    2021-01-31 04:30

    instead of using sysobjects which is not recommended anymore use sys.procedures

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

    you can do the where clause yourself but this will list it in order of modification date descending

提交回复
热议问题