1.

Which mode is used to turn on strict mode and all of the additional restrictions?(a) STRICT_ALL_TABLES(b) ERROR_FOR_DIVISION_BY_ZERO(c) TRADITIONAL(d) ERROR_WHEN_DIVIDE_BY_ZEROI have been asked this question by my school teacher while I was bunking the class.My query is from How MySQL Handles Invalid Data Values topic in chapter Data Types of MySQL

Answer»

The CORRECT answer is (C) TRADITIONAL

To explain: The ‘TRADITIONAL’ mode is used to enable the strict mode and all of the additional restrictions. It is done by the COMMAND SET sql_mod = ‘TRADITIONAL’; The other SQL MODES have other functions.



Discussion

No Comment Found

Related InterviewSolutions