1.

What are the String Data Types in MySQL?

Answer»
Type NameMeaning
CHARfixed-length nonbinary(character) string
VARCHARvariable-length nonbinary string
BINARYfixed-length binary string
VARBINARYvariable-length binary string
TINYBLOBVery small BLOB(binary large object)
BLOBSmall BLOB
MEDIUMBLOBMedium-sized BLOB
LONGBLOBLarge BLOB
TINYTEXTA very small nonbinary string
TEXTSmall nonbinary string
MEDIUMTEXTMedium-sized nonbinary string
LONGTEXTLarge nonbinary string
ENUMAn enumeration; each column value is ASSIGNED, ONE enumeration member
SETA set; each column value is assigned ZERO or more set members
NULLNULL in SQL is the term used to represent a missing value. A NULL value in a table is a value in a field that appears to be blank. This value is different than a zero value or a field that contains spaces.


Discussion

No Comment Found