Exam 1z0-071 All QuestionsBrowse all questions from this exam
Question 131

Examine this statement which executes successfully:

Which statement will violate the CHECK constraint?

    Correct Answer: D

    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.

Discussion
Babi265Option: D

i vote for D

jfc1Option: D

D is the correct https://www.oracletutorial.com/oracle-view/oracle-with-check-option/

dexdinh91Option: D

D is correct

abdullah_barhamOption: D

D is the correct answer

Abdul2021Option: D

D is the correct answer, but what is the correct answer in a real exam?

lucemqyOption: D

D is the correct answer

zouveOption: D

D ORA-01402: view WITH CHECK OPTION where-clause violation

Viviana3184Option: D

D is correct

WingLOption: D

D is correct.

Rik92Option: D

D is correct. B won't delete anything..