• ADADADADAD

    mysql怎么修改数据表的属性[ 建站问答 ]

    建站问答 时间:2024-12-01 19:07:34

    作者:文/会员上传

    简介:

    mysql中修改数据表属性的方法1.将表中的myisam属性修改为utf8属性alter table '表名' engine=myisam charset=utf8;2.在表中添加一个GetewayId字段,类型为int,且不能为nullalt

    以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。

    mysql中修改数据表属性的方法

    1.将表中的myisam属性修改为utf8属性

    alter table '表名' engine=myisam charset=utf8;

    2.在表中添加一个GetewayId字段,类型为int,且不能为null

    alter table 'test' Add column GatewayId int not null default 0

    3.修改表中的birth字段,允许其为空

    alter table expert_info change birth birth varchar(20) null;

    mysql怎么修改数据表的属性.docx

    将本文的Word文档下载到电脑

    推荐度:

    下载
    热门标签: mysql