A

Admin • 833K Points
Coach

Q. Which variable when set to 1 would enable foreign key checking for InnoDB tables?

  • (A) error_count
  • (B) identity
  • (C) foreign_key_checks
  • (D) autocommit
  • Correct Answer - Option(C)
  • Views: 32
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

This question is about foreign keys in MySQL. Foreign keys are used to ensure data integrity by creating a relationship between two tables. They make sure that the data in one table (the "referencing table") matches the data in another table (the "referenced table").

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.