1.

Which mode prevents MySQL to perform full checking of date parts?(a) ALLOW_DATES_INVALID(b) ALLOW_INVALID_DATES(c) PREVENT_DATE_CHECK(d) STOP_DATES_CHECKThis question was addressed to me in an interview for internship.Question is taken from How MySQL Handles Invalid Data Values in division Data Types of MySQL

Answer»

Correct option is (b) ALLOW_INVALID_DATES

The best explanation: In MYSQL, it is also possible to SELECTIVELY weaken the strict mode at some places. If the ALLOW_INVALID_DATES SQL mode is enabled, MySQL doesn’t perform full checking of the DATE parts.



Discussion

No Comment Found

Related InterviewSolutions