Question 840
Different reporting tools duplicate a sensitive sales join and occasionally disagree on calculations. Which technical action BEST resolves the primary problem?
Explanation
Correct Answer
Create a governed view projecting the approved join and columns. This targets the primary issue because a view centralizes a query contract without storing a second copy by default. Verification: Both tools return the same verified sales metric from the view. Prevent recurrence: Control grants on base tables and treat the view as an interface contract.
Incorrect Answers
Reviewing dependency effects and change the schema-bound view deliberately before modifying underlying objects addresses a different database behavior; the relevant distinction is that create a governed view projecting the approved join and columns.
Using a stored procedure with an explicit transaction and appropriate TRY/CATCH rollback addresses a different database behavior; the relevant distinction is that create a governed view projecting the approved join and columns.
SQL triggers run per statement and inserted can contain multiple rows.