📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What is a dangling reference?

A. A duplicate primary key
B. A primary key with a null value
C. A table with no rows
D. A foreign key value that points to a parent row that no longer exists ✅

Correct Answer: D. A foreign key value that points to a parent row that no longer exists

Explanation

A dangling reference is an orphan link left when a parent is removed without updating its children, which referential integrity prevents.