1.

For which type are illegal values converted to the appropriate ‘zero’ value?(a) Numeric(b) String(c) ENUM(d) TIMEI have been asked this question in an interview.I want to ask this question from How MySQL Handles Invalid Data Values in division Data Types of MySQL

Answer» CORRECT choice is (d) TIME

The best explanation: In MYSQL, there are different WAYS to handle the ILLEGAL values for different datatypes for DEFAULT. For date or time columns, illegal values are converted to the appropriate “zero” value for the type.


Discussion

No Comment Found

Related InterviewSolutions