Anyway to create a SQL Server DDL trigger for “SELECT” statements?

前端 未结 6 1116
太阳男子
太阳男子 2020-12-03 18:34

I am dealing with some sensitive Accounting tables and I would like to audit any SELECT statement executed on the table or any views associated with them.

6条回答
  •  猫巷女王i
    2020-12-03 19:04

    SQL Server 2008 Auditing may be able to capture it. Other than that, Profiler/Tracing is the only thing in SQL Server that can do it.

提交回复
热议问题