欢迎您访问新疆栾骏商贸有限公司,公司主营电子五金轴承产品批发业务!
全国咨询热线: 400-8878-609

新闻资讯

技术学院

mysql如何改表的字符集

作者:coldplay.xixi2020-10-09 00:00:00
mysql改表的字符集的方法:1、修改表的编码为utf8,代码为【alter table store_warehouse convert to character set utf8;】;2、查看表中每个字段的字符集。

mysql改表的字符集的方法:

--修改表的编码为utf8

alter table store_warehouse convert to character set utf8;

--查看表中每个字段的字符集

show full fields from store_warehouse;

相关免费学习推荐:mysql数据库(视频)