1.

The datatype that stores the longest length of strings is ______________(a) CHAR(b) VARCHAR(c) TINYTEXT(d) TEXTThe question was posed to me at a job interview.My question is based upon Setting Up Secure Connections topic in chapter Access Control and Security of MySQL

Answer» RIGHT option is (d) TEXT

To elaborate: In MySQL, the different string DATATYPES are USED to store different lenghts of the string. Here, the length would REFER to the NUMBER of characters in the string. TEXT stores longer strings.


Discussion

No Comment Found

Related InterviewSolutions