1.

The property of InnoDB that enforces foreign key relationships stay intact is called _____________(a) atomicity(b) durability(c) consistency(d) referential integrityI got this question in a job interview.This is a very interesting question from Foreign Keys and Referential Integrity topic in section Using SQL to Manage Data of MySQL

Answer»

Right answer is (d) referential integrity

Easy explanation: The storage engine RESPONSIBLE for providing FOREIGN key support is InnoDB. It ENFORCES that the RULES guarantee the foreign key relationship stays intact with no mismatching of data.



Discussion

No Comment Found

Related InterviewSolutions