76
GB
In the relational data model referential integrity is enforced by which constraint?
IN
संबंधपरक डेटा मॉडल में संदर्भात्मक अखंडता किस बाधा द्वारा लागू की जाती है?
A
Primary key constraint
प्राथमिक कुंजी बाधा
B
Check constraint
बाधा की जाँच करें
C
Unique constraint
अनोखी बाधा
D
Foreign key constraint
विदेशी कुंजी बाधा
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Referential integrity is enforced by foreign key constraints: a foreign key value in a child table must either match an existing primary key value in the parent table, or be NULL. This prevents orphaned records.
व्याख्या (हिन्दी)
संदर्भात्मक अखंडता को विदेशी कुंजी बाधाओं द्वारा लागू किया जाता है: चाइल्ड तालिका में एक विदेशी कुंजी मान या तो मूल तालिका में मौजूदा प्राथमिक कुंजी मान से मेल खाना चाहिए, या शून्य होना चाहिए। यह अनाथ रिकॉर्ड को रोकता है।