1.

Which variable when set to 1 would enable foreign key checking for InnoDB tables?(a) error_count(b) identity(c) foreign_key_checks(d) autocommitThis question was addressed to me in an online quiz.My question is based upon Session-Only System Variables topic in portion System, Status and User Variables of MySQL

Answer» CORRECT choice is (c) foreign_key_checks

Best explanation: SETTING the variable ‘foreign_key_checks’ to 0 or 1 DISABLES or enables the foreign key checking for InnoDB tables. The default is to perform checking. DISABLING key checks can also be helpful.


Discussion

No Comment Found

Related InterviewSolutions