Computer Science · Database Constraints
जब कोई ग्राहक खाता (customer account) हटाया जाता है, तो संदर्भात्मक अखंडता (referential integrity) बनाए रखने के लिए उनके सभी संबंधित ऑर्डर भी स्वचालित रूप से हटा दिए जाने चाहिए। कौन सा डेटाबेस कॉन्फ़िगरेशन सीधे इस आवश्यकता को पूरा करता है?
- 1customer_id कॉलम पर एक UNIQUE कंस्ट्रेंट (constraint)
- 2ON DELETE CASCADE के साथ कॉन्फ़िगर किया गया एक FOREIGN KEY कंस्ट्रेंट✓
- 3orders टेबल पर लागू किया गया एक CHECK कंस्ट्रेंट
- 4कस्टमर और ऑर्डर्स दोनों टेबल पर एक रिलेशनल VIEW बनाना
सही उत्तर देखें
ON DELETE CASCADE के साथ कॉन्फ़िगर किया गया एक FOREIGN KEY कंस्ट्रेंट
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Database Constraints?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Database Constraints