首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >mysql :将表字段类型更新为Clob

问mysql :将表字段类型更新为Clob
EN

Stack Overflow用户
提问于 2017-08-29 11:42:27
回答 1查看 1.4K关注 0票数 0

我认为mysql中没有Clob类型。我的问题是:这是真的吗?如果是真的(mysql中不存在Clob),我可以使用什么类型来保存非常长的文本?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-08-29 11:46:35

TEXT您可以使用TEXT OR BLOB数据类型。

代码语言:javascript
复制
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.
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45938250

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档