How to check date of last change in stored procedure or function in SQL server

后端 未结 8 1884
悲&欢浪女
悲&欢浪女 2020-12-12 09:36

I need to check when function was changed last time. I know how to check creation date (it is in function properties window in SQL Server Management Studio).
I found tha

8条回答
  •  爱一瞬间的悲伤
    2020-12-12 09:53

    In latest version(2012 or more) we can get modified stored procedure detail by using this query

    SELECT create_date, modify_date, name FROM sys.procedures 
    ORDER BY modify_date DESC
    

提交回复
热议问题