Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-061 Topic 2 Question 5 Discussion

Actual exam question for Oracle's 1Z0-061 exam
Question #: 5
Topic #: 2
[All 1Z0-061 Questions]

There is a simple view SCOTT.DEPT_VIEW on the table SCOTT.DEPT.

This insert fails with an error:

SQL> insert into dept_view values('SUPPORT','OXFORD'); insert into dept_view values('SUPPORT','OXFORD')

*

ERROR at line 1:

ORA-01400: cannot insert NULL into ("SCOTT"."DEPT"."DEPTNO")

What might be the problem?

Show Suggested Answer Hide Answer
Suggested Answer: A

B is incorrect because constraints are enforced on detail tables, not on views. C and D are incorrect because the error message would be different.


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel