Exam 1z0-082 All QuestionsBrowse all questions from this exam
Question 120

Which three statements are true about performing Data Manipulation Language (DML) operations on a view with no INSTEAD OF triggers defined? (Choose three.)

    Correct Answer: B, D, E

    When performing DML operations on a view with no INSTEAD OF triggers defined, there are specific restrictions. The WITH CHECK clause impacts the ability to perform INSERT or UPDATE operations but does not affect DELETE operations. Views cannot be used to add or modify rows in an underlying table if the defining query contains the DISTINCT keyword, as DISTINCT implies a transformation that may alter the uniqueness or distribution of rows. Additionally, views cannot be used to insert rows into an underlying table if the table has columns with NOT NULL constraints lacking default values, and these columns are not referenced in the defining query of the view. These restrictions ensure that the integrity and constraints of the underlying table are maintained.

Discussion
Oracle2020Options: BDE

I agree BDE views restrictions DML, : if contains set distinct operations, group by ,no delete, update or insert if defined with check option no insert or update if view cannot select the row from the base table. if not null value not have default , no can insert values.

ivanadjOptions: BDE

https://www.examtopics.com/discussions/oracle/view/20172-exam-1z0-071-topic-2-question-37-discussion/