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

后端 未结 7 679
我寻月下人不归
我寻月下人不归 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:28

    you can also use the following code snipet

    USE AdventureWorks2008;
    
    GO
    
    SELECT SprocName=name, create_date, modify_date
    
    FROM sys.objects
    
    WHERE type = 'P' 
    
    AND name = 'uspUpdateEmployeeHireInfo'
    
    GO
    

提交回复
热议问题