Warm tip: This article is reproduced from serverfault.com, please click

Best way to implement an audit trail in SQL Server?

发布于 2013-07-09 11:03:49

I don't know if these requirements are standard or not but I'm wondering is there a solution out there which can do the following:

  • For a specified set of tables keep a copy of a record prior to changing it in a audit version of the relevant table.

I rather not have to code this for every table. I'm wondering if there is a solution you can install on top of SQL Server which will do this for you?

Questioner
robotwasp
Viewed
0
15.2k 2019-05-28 04:46:10

There are many ways to do that; it depends which version of SQL Server you are using.

Here are few