Suggestions for implementing audit tables in SQL Server?

后端 未结 6 2163
春和景丽
春和景丽 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

    Are there any built-in audit packages? Oracle has a nice package, which will even send audit changes off to a separate server outside the access of any bad guy who is modifying the SQL.

    Their example is awesome... it shows how to alert on anybody modifying the audit tables.

提交回复
热议问题