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

CIW Exam 1D0-541 Topic 4 Question 106 Discussion

Actual exam question for CIW's 1D0-541 exam
Question #: 106
Topic #: 4
[All 1D0-541 Questions]

Consider the following relation definition:

STUDENT(

Student_Number: integer NOT NULL

Name: variable length character string length 20 NOT NULL)

Primary Key Student_Number

HOUSING(

Housing_ID: integer NOT NULL

Student_Number: integer NOT NULL

Building: variable length character string length 25 NOT NULL)

Primary Key Housing_ID

Foreign Key Student_Number References

STUDENT(Student_Number)

ON DELETE NO CHECK

ON UPDATE

Which integrity constraint is violated in this relation definition?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Stephen
4 days ago
Hmm, this one's tricky. I think the answer is C) Referential integrity, since the HOUSING relation has a foreign key that references the STUDENT relation, but the ON DELETE constraint is set to NO CHECK, which could lead to dangling references.
upvoted 0 times
...
Carmelina
4 days ago
I believe the correct answer is C) Referential integrity because the foreign key reference is not properly set up.
upvoted 0 times
...
Lura
6 days ago
I agree with Catarina, the foreign key constraint is not properly defined.
upvoted 0 times
...
Catarina
8 days ago
I think the integrity constraint violated is referential integrity.
upvoted 0 times
...

Save Cancel