Am using text data type but cant inserted........
What data type is used for store large text in mysql
what data type is used for store large text in mysql
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Hanook159 reputationPosted Nov 7, 2013, 6:46 PM EST
Refer
http://dev.mysql.com/doc/refman/5.0/en/blob.html
Hanook159 reputationPosted Nov 7, 2013, 6:48 PM EST
Data types and corresponding sizes in MySQL
TINYTEXT - 255 bytes
TEXT - 65535 bytes
MEDIUMTEXT - 16,777,215 bytes (2^24 - 1)
LONGTEXT - 4G bytes (2^32 – 1)
TINYBLOB - 255 bytes
BLOB - 65535 bytes
MEDIUMBLOB - 16,777,215 bytes (2^24 - 1)
LONGBLOB - 4G bytes (2^32 – 1)