Find recent object changes in SQL Server Database

前端 未结 3 1582
闹比i
闹比i 2021-02-03 10:31

I\'ve added and modified several (new and existing resp.) tables and stored procs, for a particular d

3条回答
  •  别跟我提以往
    2021-02-03 10:46

    I don't think you're going to be able to find what you're looking for. SQL Server just doesn't track that information out of the box.

    To handle this in the future, you can use some kind of source control (redgate, for one: http://www.red-gate.com/products/sql-development/sql-source-control),

    or you can set up a DDL trigger (one such technique is described here: https://dba.stackexchange.com/questions/33541/how-to-keep-history-of-sql-server-stored-procedure-revisions/33544#33544).

提交回复
热议问题