Suggestions for implementing audit tables in SQL Server?

后端 未结 6 2166
春和景丽
春和景丽 2020-12-01 09:33

One simple method I\'ve used in the past is basically just creating a second table whose structure mirrors the one I want to audit, and then create an update/delete trigger

6条回答
  •  广开言路
    2020-12-01 09:50

    I use the approach described by Greg in his answer and populate the audit table with a stored procedure called from the table triggers.

提交回复
热议问题