How can I find the last modified date, modified user of an stored procedure in SQL Server 2008?

前端 未结 8 690
无人共我
无人共我 2021-02-01 23:50

I need to find the user name of the person who modified a particular stored procedure.

How do I find out when a stored procedure was last modified or compiled in Oracle?

8条回答
  •  广开言路
    2021-02-02 00:12

    Procedure changes are traced in the system default trace. Simply open the .trc file from your ...\MSSQL\LOG folder and search for the ALTER PROCEDURE. The only problem is that the default trace gets rewriten in time, so you can only use it for recent changes (days-weeks).

提交回复
热议问题