1.

MySQL automatically converts a date or time value to a number if the value is used in a numeric context.(a) True(b) FalseThis question was posed to me during a job interview.The query is from Date and Time Data Types in section Data Type Reference, Operators and Functions of MySQL

Answer»

The correct answer is (a) True

Easiest explanation: MySQL automatically converts a date or time VALUE into a number if the value is used in a numeric CONTEXT and vice versa. A ‘zero’ value can ALSO be REPRESENTED in MySQL.



Discussion

No Comment Found

Related InterviewSolutions