Examine this statement which executes successfully:
Which statement will violate the CHECK constraint?
Examine this statement which executes successfully:
Which statement will violate the CHECK constraint?
The correct option is D. The CHECK constraint in the view ensures that all rows in the view satisfy the condition specified in the WHERE clause, i.e., department_id must be 80. An UPDATE statement that tries to change department_id to a value other than 80 will violate this CHECK constraint. Therefore, the statement 'UPDATE emp80 SET department_id = 90 WHERE department_id = 80;' will violate the CHECK constraint, as it attempts to change department_id to 90.
i vote for D
D is the correct https://www.oracletutorial.com/oracle-view/oracle-with-check-option/
D is correct
D is the correct answer
D is the correct answer, but what is the correct answer in a real exam?
D is the correct answer
D ORA-01402: view WITH CHECK OPTION where-clause violation
D is correct
D is correct.
D is correct. B won't delete anything..