Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this sections, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have a database named DB1 that contains a table named Table1. You need to audit all updates to Table1.
Solution: You create an UPDATE trigger on Table1 that inserts modified data into an audit table.
Does this meet the goal?
A . Yes
B . No
Answer: A
Explanation:
References: https://www.mssqltips.com/sqlservertip/4055/create-a-simple-sql-server-trigger-to-build-an-audittrail/
Leave a Reply