1.

Illegal values converted to the appropriate ‘zero’ value for ______________(a) Numeric(b) String(c) ENUM(d) TIMEThis question was addressed to me at a job interview.This is a very interesting question from Putting Perl DBI to Work topic in portion MySQL Programs Using Perl DBI and PHP of MySQL

Answer»

The CORRECT answer is (d) TIME

The best I can explain: 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