Question
Option 2 : Child rows referencing it are deleted automatically / इसका संदर्भ देने वाली चाइल्ड पंक्तियाँ स्वतः हट जाती हैं
Detailed Solution
सही उत्तर Child rows referencing it are deleted automatically / इसका संदर्भ देने वाली चाइल्ड पंक्तियाँ स्वतः हट जाती हैं है।
Question:
A foreign key is defined with ON DELETE CASCADE. If a parent row is deleted, then: / एक फॉरेन की ON DELETE CASCADE के साथ परिभाषित है। यदि पैरेंट पंक्ति हटाई जाए, तो:
Correct Answer: Child rows referencing it are deleted automatically / इसका संदर्भ देने वाली चाइल्ड पंक्तियाँ स्वतः हट जाती हैं
CASCADE propagates the deletion to the referencing child rows; blocking the delete is RESTRICT/NO ACTION, and nulling the keys is SET NULL. / CASCADE डिलीट को संदर्भित चाइल्ड पंक्तियों तक प्रसारित करता है; डिलीट अवरुद्ध करना RESTRICT/NO ACTION है, और की को NULL करना SET NULL है।