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

后端 未结 7 677
我寻月下人不归
我寻月下人不归 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条回答
  • You can use following type of query to find modified stored procedures , you can use any number then 7 as per your needs

    SELECT name
        FROM sys.objects
        WHERE type = 'P'
            AND DATEDIFF(D,modify_date, GETDATE()) < 7
    
    0 讨论(0)
提交回复
热议问题