1.

Which mode is a shorthand for ‘both strict modes plus a bunch of other restrictions’?(a) STRICT_ALL_TABLES(b) STRICT_TRANS_TABLES(c) TRADITIONAL(d) ERROR_WHEN_DIVIDE_BY_ZEROI got this question by my college director while I was bunking the class.This intriguing question originated from How MySQL Handles Invalid Data Values in section Data Types of MySQL

Answer» CORRECT choice is (c) TRADITIONAL

To explain: In MYSQL, the ‘TRADITIONAL’ mode is used to enable the STRICT mode. It also enables all of the ADDITIONAL RESTRICTIONS by the command ‘SET sql_mod = ‘TRADITIONAL” The other SQL modes have other functions.


Discussion

No Comment Found

Related InterviewSolutions