Find out most recently modified Stored Procedure and Table in SQL Server

In this post, I provide you one script to find out last two day modification for Stored Procedure and Table of SQL Server.
As per security concern, this script is very useful for SQL Server DBA.
Below is a script:

Type P: Stored Procedure

Type U: User Tables

Note: I have filtered DATEDIFF only for last two days, as per your requirement you can change this value.

Anvesh Patel

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz