mysql:sql alter table 修改列属性的字符集

xiaoxiao2021-02-27  381

//这里要写两次属性名 alter table tweets change WeiboContent WeiboContent varchar(350) character set utf8mb4 collate utf8mb4_unicode_ci; //或者 alter table tweets modify column WeiboContent varchar(350) character set utf8mb4 collate utf8mb4_unicode_ci default null;
转载请注明原文地址: https://www.6miu.com/read-3776.html

最新回复(0)