QuestionQ144

VerifiedAuditing

DML operations are performed on the SALES table in your production database.

Over the last few days, you have observed some questionable values in the SALES table. For that particular period, you can track users, actions taken, and the time of each action, but the data changes themselves are not tracked. You decide to record both the old and new table data along with the user information.

What action would you take to accomplish this task?

Explanation

Value-based auditing uses row-level triggers to write the old and new values of affected rows to an audit table, together with details such as the database user and timestamp. Standard auditing records activity metadata but not before-and-after data values.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!