adplus-dvertising
frame-decoration

Question

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

Posted under MySQL Database

Answer: (c).foreign_key_checks

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

Q. The synonym for last_insert_id session variable is _____________

Q. When building from source, the embedded server library is enabled by what?

Q. What returns a string containing an error message?

Q. The statement that views status variables by aggregating the values over all connections is _____________

Q. Which keyword inserted in the SHOW STATUS statement shows the values for the current connection?

Q. What is the synonym for last_insert_id session variable?

Q. The Audit_log_events system variable is of type _____________

Q. mysql_next_result() does not return a status.

Q. The option that executes all SQL statements in a SQL script irrespective of the number of errors is ____________

Q. How many of the following do not return rows?

SELECT, SHOW, DESCRIBE

Q. What does mysql_fetch_row() return?

Q. The columns containing a binary value that include null bytes will print properly using the %s printf() format specifier.

Q. User defined variables are session specific.

Q. Hexadecimal values assigned to user variables are treated as _____________

Q. What is the type of Audit_log_events system variable?

Q. Multiple statement execution is disabled by default.

Q. The option that enables multiple-statement execution is ____________

Q. What does mysql_query() return on failure?