1.

The maximum value that can be specified to the size of VARCHAR is _____________(a) 0(b) 127(c) 1023(d) 65535This question was posed to me during an interview.Enquiry is from String Data Types topic in chapter Data Type Reference, Operators and Functions of MySQL

Answer» CORRECT OPTION is (d) 65535

Explanation: The values in ‘VARCHAR’ columns are variable length strings. The length can be a value from 0 to 65,535. The effective MAXIMUM length of a VARCHAR is subject to the maximum row size.


Discussion

No Comment Found

Related InterviewSolutions