Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

how to audit a table (DML actions) with specific conditions

$
0
0
Hi, i would like to audit DML operations on a table (deletes mostly) but the problem is, that it needs to answer a specific condition.i need to catch a specific condition of columns (for example, i have a bit column "to_delete" and if its value is 0 i want to catch only those delete statements that deleted records where "to_delete = 0".i am familiar with Database Audit Specifications but it will audit all deletes, and the problem is that in my specific table i have millions of deletes per day so it will be impossible to track the transaction i need. Any Suggestions?

Viewing all articles
Browse latest Browse all 6525

Trending Articles