Mysql中修改数据表属性的方法将表中的myisam属性修改为utf8属性alter table '表名' engine=myisam charset=utf8;在表中添加一个GetewayId字段,类型为int,且不能为nullalter
Mysql中修改数据表属性的方法
将表中的myisam属性修改为utf8属性
alter table '表名' engine=myisam charset=utf8;
在表中添加一个GetewayId字段,类型为int,且不能为null
alter table 'test' Add column GatewayId int not null default 0
修改表中的birth字段,允许其为空
alter table expert_info change birth birth varchar(20) null;
--结束END--
本文标题: mysql怎么修改数据表的属性
本文链接: https://www.lsjlt.com/news/114023.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-16
2024-05-16
2024-05-16
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0