1.

Which of these is a read only variable?(a) error_count(b) big_tables(c) autocommit(d) foreign_key_checksThe question was asked in an online interview.Enquiry is from Session-Only System Variables topic in chapter System, Status and User Variables of MySQL

Answer»

The correct choice is (a) error_count

The EXPLANATION: The SESSION only system variable ‘error_count’ is a read only variable that indicates the number of errors generated by the last statement that can generate errors. The others are writable.



Discussion

No Comment Found

Related InterviewSolutions