Question
1.
2.
3.
4.
Answer (Detailed Solution Below)
Option 3 : Have their foreign-key column set to NULL / उनकी विदेशी-कुंजी स्तंभ NULL हो जाता है
Advertisement
Detailed Solution
सही उत्तर Have their foreign-key column set to NULL / उनकी विदेशी-कुंजी स्तंभ NULL हो जाता है है।
Key Points
Helpful?
Question:
A foreign key is defined with ON DELETE SET NULL. When a parent row is deleted, the matching child rows: / एक विदेशी कुंजी ON DELETE SET NULL के साथ परिभाषित है। जनक पंक्ति हटाने पर संबंधित शिशु पंक्तियाँ:
1.
Are deleted along with the parent / जनक के साथ हटा दी जाती हैं
2.
Block the deletion / हटाने को अवरुद्ध करती हैं
3.
Have their foreign-key column set to NULL / उनकी विदेशी-कुंजी स्तंभ NULL हो जाता है
4.
Are archived to a history table / इतिहास तालिका में संग्रहीत हो जाती हैं
Correct Answer: Have their foreign-key column set to NULL / उनकी विदेशी-कुंजी स्तंभ NULL हो जाता है
SET NULL nullifies the referencing FK; (a) describes CASCADE, (b) describes RESTRICT/NO ACTION. / SET NULL संदर्भित FK को शून्य करता है; (a) CASCADE है, (b) RESTRICT/NO ACTION है।
Downloaded from PrepSnap (prepsnap.in)