I was about to say C) Unique key, but then I remembered that's more for ensuring uniqueness, not referential integrity. Foreign key is the clear winner here. Although, sometimes I wish the exam questions were as straightforward as 'which key is used to enforce referential integrity?' *laughs*
Hmm, I was leaning towards D) Primary key at first, but you both make a good point. Foreign key is the way to go for referential integrity. Can't have those dangling relationships, am I right?
Definitely B) Foreign key. That's the key that links tables together and ensures we don't have any orphaned records. Gotta keep that data squeaky clean!
Ah, the age-old question of enforcing referential integrity! This is a tricky one, but I think the answer is B) Foreign key. That's the constraint that ensures data in one table references valid data in another related table, right?
upvoted 0 times
...
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login
Laura
8 months agoRebbecca
8 months agoBilly
8 months agoAsha
8 months ago