1.

‘2341’ is a ____________(a) integer(b) floating point(c) hexadecimal(d) stringI have been asked this question in an international level competition.The above asked question is from Data Value Categories in chapter Data Types of MySQL

Answer»

Right answer is (d) string

The explanation: In MySQL, the string values are written by ENCLOSING them within quotes. Values LIKE ‘Alexander’, ‘Kolkata, INDIA’ and ‘2341’ are STRINGS. ‘2341’ looks like an integer but is a string.



Discussion

No Comment Found

Related InterviewSolutions