我认为mysql中没有类型Clob。 我的问题是: 这是真的?如果它是真的(Clob doe' sn存在于mysql中)我可以使用哪种类型来保存很长的文本?
答案 0 :(得分:0)
TEXT
您可以使用TEXT OR BLOB数据类型。
BLOB or TEXT − A field with a maximum length of 65535 characters.
BLOBs are "Binary Large Objects" and are used to store large amounts of binary data, such as images or other types of files.
Fields defined as TEXT also hold large amounts of data.
The difference between the two is that the sorts and comparisons on the stored data are case sensitive on BLOBs and are not case sensitive in TEXT fields.
You do not specify a length with BLOB or TEXT.