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?
gives me idea about the time. But how do I know the user who modified it?
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?
gives me idea about the time. But how do I know the user who modified it?
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).If you are going to need this information in the future, it may be worth looking at implementing a DDL trigger on the CREATE_PROCEDURE and ALTER_PROCEDURE DDL events
Example B from the EVENTDATA page shows a trigger logging all DDL events, with user name captured.
Try Schema Changes History Report.
In SQl Server Management Sudio -> Right Click on server name or schema name -> Reports -> Standard Reports -> Schema Changes History
This worked for me like a charm.
Taken from here
This can be achieve by running any of the following query.
------------OR--------------------------------------
Here what it works for me:-
Source:- https://serverfault.com/questions/258111/finding-out-who-has-modified-a-stored-procedure-on-sql-server
Can you try this out?